| ... | ... | @@ -18,13 +18,15 @@ import { AndroidSheetHeader } from "../../components/AndroidScreenHeader"; |
| 18 | 18 | import { AppText as Text } from "../../components/AppText"; |
| 19 | 19 | import { SymbolView } from "../../components/AppSymbol"; |
| 20 | 20 | import { ControlPillMenu } from "../../components/ControlPill"; |
| 21 | import { MaterialScreenContent } from "../../components/MaterialScreenContent"; |
| 21 | 22 | import { scopedThreadKey } from "../../lib/scopedEntities"; |
| 22 | 23 | import { useUniwindTheme } from "../../lib/useUniwindTheme"; |
| 23 | | import { nativeHeaderScrollEdgeEffects } from "../../native/StackHeader"; |
| 24 | import { NativeStackScreenOptions, nativeHeaderScrollEdgeEffects } from "../../native/StackHeader"; |
| 24 | 25 | import { useAssetUrl } from "../../state/assets"; |
| 25 | 26 | import { beginQueuedRunEdit, useQueuedRunEdit } from "../../state/queued-run-edit"; |
| 26 | 27 | import { environmentThreadDetails, threadEnvironment } from "../../state/threads"; |
| 27 | 28 | import { useAtomCommand } from "../../state/use-atom-command"; |
| 29 | import { useAdaptiveWorkspaceLayout } from "../layout/AdaptiveWorkspaceLayout"; |
| 28 | 30 | import { |
| 29 | 31 | REMOVE_QUEUED_MESSAGE_ACCESSIBILITY_LABEL, |
| 30 | 32 | buildCancelQueuedRunCommand, |
| ... | ... | @@ -51,6 +53,7 @@ export function useThreadQueuedCount(target: QueueTarget) { |
| 51 | 53 | } |
| 52 | 54 | |
| 53 | 55 | export function ThreadQueueSheet({ route }: StaticScreenProps<QueueTarget>) { |
| 56 | const { layout } = useAdaptiveWorkspaceLayout(); |
| 54 | 57 | const target = route.params; |
| 55 | 58 | const navigation = useNavigation(); |
| 56 | 59 | const insets = useSafeAreaInsets(); |
| ... | ... | @@ -446,8 +449,11 @@ export function ThreadQueueSheet({ route }: StaticScreenProps<QueueTarget>) { |
| 446 | 449 | return ( |
| 447 | 450 | <GestureHandlerRootView style={{ flex: 1 }}> |
| 448 | 451 | <View collapsable={false} className="flex-1 bg-sheet"> |
| 452 | <NativeStackScreenOptions options={{ sheetCornerRadius: 28 }} /> |
| 449 | 453 | <AndroidSheetHeader title="Queued" onBack={() => navigation.goBack()} /> |
| 450 | | {content} |
| 454 | <MaterialScreenContent insetHorizontal={layout.usesSplitView}> |
| 455 | {content} |
| 456 | </MaterialScreenContent> |
| 451 | 457 | </View> |
| 452 | 458 | </GestureHandlerRootView> |
| 453 | 459 | ); |