Skip to content

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

disable statusBarTranslucent on AddNotebook dialog

ammarahm-ed9a67eb46ab84
diff --git a/apps/mobile/src/components/AddNotebookDialog/index.js b/apps/mobile/src/components/AddNotebookDialog/index.js
index 6095dd808..632cc9072 100644
--- a/apps/mobile/src/components/AddNotebookDialog/index.js
+++ b/apps/mobile/src/components/AddNotebookDialog/index.js
@@ -274,6 +274,7 @@ export class AddNotebookDialog extends React.Component {
await sleep(300);
this.props.toEdit?.type !== 'notebook' && this.titleRef?.focus();
}}
+ statusBarTranslucent={false}
onRequestClose={this.close}>
<TextInput
ref={this.hiddenInput}
@@ -291,7 +292,7 @@ export class AddNotebookDialog extends React.Component {
styles.container,
{
backgroundColor: colors.bg,
- paddingTop: Platform.OS === 'android' ? 30 : 5,
+ paddingTop: 5,
},
]}>
<DialogHeader