mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2026-04-25 22:55:18 +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 (
|
||||
|
||||
Reference in New Issue
Block a user