| ... | ... | @@ -7,11 +7,13 @@ import Animated, { FadeIn, FadeOut, LinearTransition } from "react-native-reanim |
| 7 | 7 | import { useSafeAreaInsets } from "react-native-safe-area-context"; |
| 8 | 8 | |
| 9 | 9 | import { AppText as Text } from "../../components/AppText"; |
| 10 | import { APP_BAR_HEIGHT } from "../../lib/layoutMetrics"; |
| 10 | 11 | import { tryOpenExternalUrl } from "../../lib/openExternalUrl"; |
| 11 | 12 | import { useThemeColor } from "../../lib/useThemeColor"; |
| 12 | 13 | import type { GitActionProgress } from "../../state/use-vcs-action-state"; |
| 13 | 14 | |
| 14 | 15 | const OVERLAY_LAYOUT_TRANSITION = LinearTransition.duration(220); |
| 16 | const OVERLAY_TOP_GAP = 8; |
| 15 | 17 | const AnimatedLiquidGlassView = Animated.createAnimatedComponent(LiquidGlassView); |
| 16 | 18 | |
| 17 | 19 | export function GitActionProgressOverlay(props: { |
| ... | ... | @@ -52,7 +54,7 @@ export function GitActionProgressOverlay(props: { |
| 52 | 54 | entering={isLiquidGlassSupported ? undefined : FadeIn.duration(200)} |
| 53 | 55 | exiting={FadeOut.duration(150)} |
| 54 | 56 | className="absolute inset-x-3 z-[100]" |
| 55 | | style={{ top: insets.top + 48 }} |
| 57 | style={{ top: insets.top + APP_BAR_HEIGHT + OVERLAY_TOP_GAP }} |
| 56 | 58 | pointerEvents="box-none" |
| 57 | 59 | > |
| 58 | 60 | <Pressable onPress={handlePress}> |