Skip to content

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

fix crash on launch

Ammar Ahmed89d4dd9ea13c
diff --git a/apps/mobile/src/screens/editor/wrapper.js b/apps/mobile/src/screens/editor/wrapper.js
index eafe38338..83bf3b1e3 100644
--- a/apps/mobile/src/screens/editor/wrapper.js
+++ b/apps/mobile/src/screens/editor/wrapper.js
@@ -61,7 +61,7 @@ export const EditorWrapper = ({ width }) => {
behavior={Platform.OS === 'ios' ? 'padding' : 'height'}
style={{
flex: 1,
- marginBottom: getMarginBottom
+ marginBottom: getMarginBottom()
}}
enabled={!floating}
keyboardVerticalOffset={0}