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
Navigate back when a color/tag is empty/removed
ammarahm-ed9c3e6163ea60
diff --git a/apps/mobile/src/components/ActionSheetComponent/ActionSheetColorsSection.js b/apps/mobile/src/components/ActionSheetComponent/ActionSheetColorsSection.jsindex 3c28d99f1..6e70dcc1c 100644--- a/apps/mobile/src/components/ActionSheetComponent/ActionSheetColorsSection.js+++ b/apps/mobile/src/components/ActionSheetComponent/ActionSheetColorsSection.js@@ -11,7 +11,7 @@ import {dWidth} from '../../utils';import {COLORS_NOTE} from '../../utils/Colors';import {hexToRGBA, RGB_Linear_Shade} from '../../utils/ColorUtils';import {db} from '../../utils/DB';-import {eShowGetPremium} from '../../utils/Events';+import {eShowGetPremium, refreshNotesPage} from '../../utils/Events';import {SIZE} from '../../utils/SizeUtils';import {sleep} from '../../utils/TimeUtils';import {PressableButton} from '../PressableButton';@@ -54,9 +54,10 @@ export const ActionSheetColorsSection = ({item, close}) => {} else {await db.notes.note(note.id).color(color.name);}+ localRefresh();dispatch({type: Actions.COLORS});sendNoteEditedEvent(note.id, false, true);- localRefresh();+ eSendEvent(refreshNotesPage);}}customStyle={{width: DDS.isTab ? 400 / 10 : dWidth / 10,