Commit 9aa44a1
committed
fix(mobile): hide "Create Note" button in filtered views
Fixes #37
Only show "Create Note" button in:
- All Notes view
- Folder views
Hide the button in filtered views where creating notes doesn't make contextual sense:
- Public view
- Starred view
- Archived view
- Trash view (shows "Empty Trash" instead)1 parent 83112b3 commit 9aa44a1
File tree
1 file changed
+4
-2
lines changed- apps/mobile/v1/src/screens/FolderNotes/components/NotesList
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
73 | | - | |
| 74 | + | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| |||
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
87 | | - | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
0 commit comments