Skip to content

Commit

Permalink
Merge pull request zingolabs#783 from dorianvp/add_status_bar
Browse files Browse the repository at this point in the history
Add `StatusBar` with `backgroundColor` set to theme background
  • Loading branch information
juanky201271 authored Feb 26, 2025
2 parents 228d2ed + 2ca0fe1 commit 5dced3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { LoadingApp } from './app/LoadingApp';
import { ThemeType } from './app/types';
import { ModeEnum, RouteEnums } from './app/AppState';

import { LogBox } from 'react-native';
import { LogBox, StatusBar } from 'react-native';

LogBox.ignoreLogs(['[Reanimated] Reduced motion setting is enabled on this device.']);

Expand Down Expand Up @@ -93,6 +93,7 @@ const App: React.FunctionComponent = () => {
//console.log('render App - 1');
return (
<SafeAreaProvider>
<StatusBar backgroundColor={theme.colors.background} />
<NavigationContainer theme={theme}>
<SafeAreaView
style={{
Expand Down

0 comments on commit 5dced3d

Please sign in to comment.