mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-10-16 06:25:42 -04:00
fix(native): keep Android headers from covering Upcoming filters and the modal Close button
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2 files changed
+6
-4
No files matched your search
@@ -130,15 +130,17 @@ export default function UpcomingScreen() {
|
||||
</ScrollView>
|
||||
);
|
||||
|
||||
const isIOS = process.env.EXPO_OS === "ios";
|
||||
|
||||
return (
|
||||
<>
|
||||
<Stack.Header
|
||||
transparent
|
||||
blurEffect="systemChromeMaterialDark"
|
||||
transparent={isIOS}
|
||||
blurEffect={isIOS ? "systemChromeMaterialDark" : undefined}
|
||||
style={{
|
||||
color: tintColor,
|
||||
shadowColor: "transparent",
|
||||
backgroundColor: process.env.EXPO_OS === "ios" ? undefined : backgroundColor,
|
||||
backgroundColor: isIOS ? undefined : backgroundColor,
|
||||
}}
|
||||
/>
|
||||
<Stack.Screen.Title style={headerTitleStyle as Record<string, unknown>}>
|
||||
|
||||
@@ -18,7 +18,7 @@ export function ModalLayout({ children }: { children: ReactNode }) {
|
||||
|
||||
return (
|
||||
<View className="bg-background flex-1">
|
||||
<Stack.Header transparent blurEffect="none" />
|
||||
<Stack.Header hidden={process.env.EXPO_OS !== "ios"} transparent blurEffect="none" />
|
||||
{process.env.EXPO_OS === "ios" && (
|
||||
<Stack.Toolbar placement="right">
|
||||
<Stack.Toolbar.Button onPress={() => dismissAll()}>
|
||||
|
||||
Reference in new issue
Block a user