mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2026-04-25 14:45:19 +00:00
fix: allow anonymous recording start and add light theme email icon (#949)
* fix: all anounimous can start recording * fix: give more schedule timeout to heavy processes * fix: add light mode support for daily icons
This commit is contained in:
committed by
GitHub
parent
f4f94a0d99
commit
08c276e4f4
@@ -337,6 +337,10 @@ export default function DailyRoom({ meeting, room }: DailyRoomProps) {
|
||||
[],
|
||||
);
|
||||
const emailIconUrl = useMemo(
|
||||
() => new URL("/email-icon-dark.svg", window.location.origin),
|
||||
[],
|
||||
);
|
||||
const emailIconDarkModeUrl = useMemo(
|
||||
() => new URL("/email-icon.svg", window.location.origin),
|
||||
[],
|
||||
);
|
||||
@@ -399,12 +403,13 @@ export default function DailyRoom({ meeting, room }: DailyRoomProps) {
|
||||
show
|
||||
? {
|
||||
iconPath: emailIconUrl.href,
|
||||
iconPathDarkMode: emailIconDarkModeUrl.href,
|
||||
label: "Email Transcript",
|
||||
tooltip: "Get transcript emailed to you",
|
||||
}
|
||||
: null,
|
||||
);
|
||||
}, [emailIconUrl, setCustomTrayButton]);
|
||||
}, [emailIconUrl, emailIconDarkModeUrl, setCustomTrayButton]);
|
||||
|
||||
if (authLastUserId === undefined) {
|
||||
return (
|
||||
|
||||
4
www/public/email-icon-dark.svg
Normal file
4
www/public/email-icon-dark.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<rect x="2" y="4" width="20" height="16" rx="2"/>
|
||||
<path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 267 B |
Reference in New Issue
Block a user