Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

add background color to container

ammarahm-ed0d331977b5ff
diff --git a/apps/mobile/src/components/Container/index.js b/apps/mobile/src/components/Container/index.js
index 47ce1efd8..54ff9a305 100644
--- a/apps/mobile/src/components/Container/index.js
+++ b/apps/mobile/src/components/Container/index.js
@@ -1,15 +1,18 @@
import React from 'react';
import {KeyboardAvoidingView, Platform, SafeAreaView} from 'react-native';
+import { useTracked } from '../../provider';
import SelectionHeader from '../SelectionHeader';
import {ContainerTopSection} from './ContainerTopSection';
export const Container = ({children, root}) => {
-
+ const [state] = useTracked();
+ const {colors, } = state;
return (
<KeyboardAvoidingView behavior="padding" enabled={Platform.OS === 'ios'}>
<SafeAreaView
style={{
height: '100%',
+ backgroundColor:colors.bg
}}>
<SelectionHeader />
<ContainerTopSection root={root} />