mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-20 18:48:28 +02:00
Mobile: Removes whitespace above navigation component (#6597)
This commit is contained in:
parent
8bb5b4a557
commit
879702dadf
@ -872,7 +872,8 @@ class AppComponent extends React.Component {
|
|||||||
Config: { screen: ConfigScreen },
|
Config: { screen: ConfigScreen },
|
||||||
};
|
};
|
||||||
|
|
||||||
const statusBarStyle = theme.appearance === 'light' ? 'dark-content' : 'light-content';
|
// const statusBarStyle = theme.appearance === 'light-content';
|
||||||
|
const statusBarStyle = 'light-content';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={{ flex: 1, backgroundColor: theme.backgroundColor }}>
|
<View style={{ flex: 1, backgroundColor: theme.backgroundColor }}>
|
||||||
@ -889,7 +890,8 @@ class AppComponent extends React.Component {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<StatusBar barStyle={statusBarStyle} />
|
<StatusBar barStyle={statusBarStyle} />
|
||||||
<MenuContext style={{ flex: 1, backgroundColor: theme.backgroundColor }}>
|
<MenuContext style={{ flex: 1 }}>
|
||||||
|
<SafeAreaView style={{ flex: 0, backgroundColor: theme.backgroundColor2 }}/>
|
||||||
<SafeAreaView style={{ flex: 1 }}>
|
<SafeAreaView style={{ flex: 1 }}>
|
||||||
<View style={{ flex: 1, backgroundColor: theme.backgroundColor }}>
|
<View style={{ flex: 1, backgroundColor: theme.backgroundColor }}>
|
||||||
<AppNav screens={appNavInit} />
|
<AppNav screens={appNavInit} />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user