diff --git a/ReactNativeClient/lib/components/side-menu-content.js b/ReactNativeClient/lib/components/side-menu-content.js
index 1929fa1c9..48e564f26 100644
--- a/ReactNativeClient/lib/components/side-menu-content.js
+++ b/ReactNativeClient/lib/components/side-menu-content.js
@@ -32,9 +32,7 @@ class SideMenuContentComponent extends Component {
let styles = {
menu: {
flex: 1,
- backgroundColor: theme.backgroundColor,
- borderTopWidth: 1,
- borderTopColor: theme.dividerColor,
+ backgroundColor: theme.backgroundColor
},
button: {
flex: 1,
diff --git a/ReactNativeClient/root.js b/ReactNativeClient/root.js
index ada9a7aea..4834d951f 100644
--- a/ReactNativeClient/root.js
+++ b/ReactNativeClient/root.js
@@ -54,6 +54,7 @@ const ShareExtension = require('react-native-share-extension').default;
const ResourceFetcher = require('lib/services/ResourceFetcher');
const SearchEngine = require('lib/services/SearchEngine');
const WelcomeUtils = require('lib/WelcomeUtils');
+const { themeStyle } = require('lib/components/global-style.js');
const SyncTargetRegistry = require('lib/SyncTargetRegistry.js');
const SyncTargetOneDrive = require('lib/SyncTargetOneDrive.js');
@@ -642,8 +643,9 @@ class AppComponent extends React.Component {
render() {
if (this.props.appState != 'ready') return null;
+ const theme = themeStyle(this.props.theme);
- const sideMenuContent = ;
+ const sideMenuContent = ;
const appNavInit = {
Welcome: { screen: WelcomeScreen },
@@ -671,7 +673,8 @@ class AppComponent extends React.Component {
}}
>
-
+
+
this.dropdownAlert_ = ref} tapToCloseEnabled={true} />
@@ -689,6 +692,7 @@ const mapStateToProps = (state) => {
appState: state.appState,
noteSelectionEnabled: state.noteSelectionEnabled,
selectedFolderId: state.selectedFolderId,
+ theme: state.settings.theme
};
};