Skip to content

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

mobile: remove floating button on topic screen

ammarahm-ed5563c7d5f856
diff --git a/apps/mobile/app/screens/notes/index.tsx b/apps/mobile/app/screens/notes/index.tsx
index fb1eac904..91b5bc976 100644
--- a/apps/mobile/app/screens/notes/index.tsx
+++ b/apps/mobile/app/screens/notes/index.tsx
@@ -280,8 +280,9 @@ const NotesPage = ({
placeholderData={placeholderData}
/>
- {notes?.length > 0 ||
- (isFocused && !isMonograph && route.name !== "TopicNotes") ? (
+ {!isMonograph &&
+ route.name !== "TopicNotes" &&
+ (notes?.length > 0 || isFocused) ? (
<FloatingButton title="Create a note" onPress={onPressFloatingButton} />
) : null}
</DelayLayout>