Skip to content

Commit

Permalink
fix: update dark android navigation bar opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzachnugent authored and danstepanov committed Jun 22, 2024
1 parent 3602b8c commit 2d31129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/useColorScheme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ function setNavigationBar(colorScheme: 'light' | 'dark') {
return Promise.all([
NavigationBar.setButtonStyleAsync(colorScheme === 'dark' ? 'light' : 'dark'),
NavigationBar.setPositionAsync('absolute'),
NavigationBar.setBackgroundColorAsync(colorScheme === 'dark' ? '#00000080' : '#ffffff80'),
NavigationBar.setBackgroundColorAsync(colorScheme === 'dark' ? '#00000030' : '#ffffff80'),
]);
}

0 comments on commit 2d31129

Please sign in to comment.