fix(app): keep the fullscreen composer's exit button clear of the window's top-right

Co-authored-by: Elsa Granger <zeyugao@outlook.com>
This commit is contained in:
Mohamed Boudra
2026-11-08 02:54:02 +01:00
co-authored by Elsa Granger
parent 843ce6ebff
commit 4230593d1e
@@ -13,6 +13,7 @@ import {
type ControlSizing,
} from "@/components/ui/control-geometry";
import { StyleSheet } from "react-native-unistyles";
import { WindowChromeSafeArea } from "@/utils/desktop-window";
import { useComposerFullscreenExit } from "./fullscreen-exit";
import { resolveGlyphRailOffset } from "./state";
@@ -90,7 +91,7 @@ export function ComposerInputPresentation({
testID={fullscreen ? "composer-fullscreen" : undefined}
>
{fullscreen ? (
<View style={styles.exitRow}>
<WindowChromeSafeArea placement="inline" style={styles.exitRow}>
<Button
variant="ghost"
size="sm"
@@ -103,7 +104,7 @@ export function ComposerInputPresentation({
>
{null}
</Button>
</View>
</WindowChromeSafeArea>
) : null}
<ComposerFullscreenBody fullscreen={fullscreen}>
<View