(feat): remove homepage dev buttons
(fix): some call related bugs (qol): update todo
This commit is contained in:
parent
4f82b9c85b
commit
28a3d72fad
8 changed files with 175 additions and 29 deletions
|
|
@ -53,10 +53,13 @@ export default function Actions() {
|
|||
}, [screenRef]);
|
||||
|
||||
const toggleFullscreen = async () => {
|
||||
const screen = screenRef?.current;
|
||||
const fullscreenDocument = screen?.ownerDocument ?? document;
|
||||
|
||||
if (callIsFullscreen) {
|
||||
await document.exitFullscreen().catch(() => undefined);
|
||||
await fullscreenDocument.exitFullscreen().catch(() => undefined);
|
||||
} else {
|
||||
await screenRef?.current?.requestFullscreen().catch(() => undefined);
|
||||
await screen?.requestFullscreen().catch(() => undefined);
|
||||
}
|
||||
|
||||
triggerCallLayoutCalculation();
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ export default function TopBar() {
|
|||
<TooltipTrigger
|
||||
render={
|
||||
<Avatar className="size-7">
|
||||
<AvatarImage />
|
||||
<AvatarImage src={user.avatar} />
|
||||
<AvatarFallback className="text-xs">
|
||||
{user.display.slice(0, 2).toUpperCase()}
|
||||
</AvatarFallback>
|
||||
|
|
|
|||
Loading…
Reference in a new issue