Skip to content

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

mobile: fix button action

Ammar Ahmed65678a0995aa
diff --git a/apps/mobile/app/screens/home/index.tsx b/apps/mobile/app/screens/home/index.tsx
index 855b46332..d98ece3bc 100755
--- a/apps/mobile/app/screens/home/index.tsx
+++ b/apps/mobile/app/screens/home/index.tsx
@@ -80,12 +80,7 @@ export const Home = ({ navigation, route }: NavigationProps<"Notes">) => {
loading: "Loading your notes"
}}
/>
- <FloatingButton
- title="Create a new note"
- onPress={() => {
- LinkNote.present();
- }}
- />
+ <FloatingButton title="Create a new note" onPress={openEditor} />
</DelayLayout>
</>
);