@@ -18,13 +18,15 @@ import { AndroidSheetHeader } from "../../components/AndroidScreenHeader";
1818import { AppText as Text } from "../../components/AppText" ;
1919import { SymbolView } from "../../components/AppSymbol" ;
2020import { ControlPillMenu } from "../../components/ControlPill" ;
21+ import { MaterialScreenContent } from "../../components/MaterialScreenContent" ;
2122import { scopedThreadKey } from "../../lib/scopedEntities" ;
2223import { useUniwindTheme } from "../../lib/useUniwindTheme" ;
23- import { nativeHeaderScrollEdgeEffects } from "../../native/StackHeader" ;
24+ import { NativeStackScreenOptions , nativeHeaderScrollEdgeEffects } from "../../native/StackHeader" ;
2425import { useAssetUrl } from "../../state/assets" ;
2526import { beginQueuedRunEdit , useQueuedRunEdit } from "../../state/queued-run-edit" ;
2627import { environmentThreadDetails , threadEnvironment } from "../../state/threads" ;
2728import { useAtomCommand } from "../../state/use-atom-command" ;
29+ import { useAdaptiveWorkspaceLayout } from "../layout/AdaptiveWorkspaceLayout" ;
2830import {
2931 REMOVE_QUEUED_MESSAGE_ACCESSIBILITY_LABEL ,
3032 buildCancelQueuedRunCommand ,
@@ -51,6 +53,7 @@ export function useThreadQueuedCount(target: QueueTarget) {
5153}
5254
5355export function ThreadQueueSheet ( { route } : StaticScreenProps < QueueTarget > ) {
56+ const { layout } = useAdaptiveWorkspaceLayout ( ) ;
5457 const target = route . params ;
5558 const navigation = useNavigation ( ) ;
5659 const insets = useSafeAreaInsets ( ) ;
@@ -446,8 +449,11 @@ export function ThreadQueueSheet({ route }: StaticScreenProps<QueueTarget>) {
446449 return (
447450 < GestureHandlerRootView style = { { flex : 1 } } >
448451 < View collapsable = { false } className = "flex-1 bg-sheet" >
452+ < NativeStackScreenOptions options = { { sheetCornerRadius : 28 } } />
449453 < AndroidSheetHeader title = "Queued" onBack = { ( ) => navigation . goBack ( ) } />
450- { content }
454+ < MaterialScreenContent insetHorizontal = { layout . usesSplitView } >
455+ { content }
456+ </ MaterialScreenContent >
451457 </ View >
452458 </ GestureHandlerRootView >
453459 ) ;
0 commit comments