A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: move switch to dark mode button to end
ammarahm-ed85324f32a1dd
diff --git a/apps/mobile/src/components/Properties/useActions.js b/apps/mobile/src/components/Properties/useActions.jsindex 86e1f1395..e7bc3dbda 100644--- a/apps/mobile/src/components/Properties/useActions.js+++ b/apps/mobile/src/components/Properties/useActions.js@@ -495,17 +495,6 @@ export const useActions = ({ close = () => {}, item }) => {};const actions = [- {- name: 'Dark Mode',- title: 'Dark mode',- icon: 'theme-light-dark',- func: switchTheme,- switch: true,- on: colors.night ? true : false,- close: false,- nopremium: true,- id: notesnook.ids.dialogs.actionsheet.night- },{name: 'Add to notebook',title: 'Add to notebook',@@ -673,6 +662,17 @@ export const useActions = ({ close = () => {}, item }) => {title: 'History',icon: 'history',func: openHistory+ },+ {+ name: 'Dark Mode',+ title: 'Dark mode',+ icon: 'theme-light-dark',+ func: switchTheme,+ switch: true,+ on: colors.night ? true : false,+ close: false,+ nopremium: true,+ id: notesnook.ids.dialogs.actionsheet.night}];