mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
iOS: Fixes #2384: Improve support for dark mode
This commit is contained in:
parent
3361901cd8
commit
f97bae0b27
@ -68,5 +68,7 @@
|
||||
</array>
|
||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||
<false/>
|
||||
<key>UIUserInterfaceStyle</key>
|
||||
<string>Light</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* eslint-disable enforce-react-hooks/enforce-react-hooks */
|
||||
|
||||
const React = require('react');
|
||||
const { AppState, Keyboard, NativeModules, BackHandler, Platform, Animated, View } = require('react-native');
|
||||
const { AppState, Keyboard, NativeModules, BackHandler, Platform, Animated, View, StatusBar } = require('react-native');
|
||||
const SafeAreaView = require('lib/components/SafeAreaView');
|
||||
const { connect, Provider } = require('react-redux');
|
||||
const { BackButtonService } = require('lib/services/back-button.js');
|
||||
@ -750,6 +750,7 @@ class AppComponent extends React.Component {
|
||||
});
|
||||
}}
|
||||
>
|
||||
<StatusBar barStyle="dark-content" />
|
||||
<MenuContext style={{ flex: 1 }}>
|
||||
<SafeAreaView style={{ flex: 1 }}>
|
||||
<View style={{ flex: 1, backgroundColor: theme.backgroundColor }}>
|
||||
|
Loading…
Reference in New Issue
Block a user