Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
fix: navigation bar color android
Browse files Browse the repository at this point in the history
  • Loading branch information
hirbod committed Nov 20, 2023
1 parent 21da74e commit d260630
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/app/navigation/root-stack-navigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ export function RootStackNavigator() {
// https://github.com/showtime-xyz/showtime-frontend/pull/2213
animation: Platform.OS === "android" ? "none" : "default",
statusBarStyle: isDark ? "light" : "dark",
navigationBarColor: isDark
? "rgba(0,0,0,0.95)"
: "rgba(255,255,255,1)",
}}
>
<Stack.Screen
Expand Down Expand Up @@ -266,7 +269,13 @@ export function RootStackNavigator() {
name="creatorTokenSocialShare"
component={CreatorTokenSocialShareScreen}
/>
<Stack.Screen name="viewer" component={SharedElementScreen} />
<Stack.Screen
name="viewer"
component={SharedElementScreen}
options={{
navigationBarColor: "rgba(0,0,0,0.95)",
}}
/>
</Stack.Group>
</Stack.Navigator>
);
Expand Down

0 comments on commit d260630

Please sign in to comment.