Skip to content

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

fix tag notes not changing

ammarahm-ed883e4b6ef370
diff --git a/apps/mobile/src/components/Menu/index.js b/apps/mobile/src/components/Menu/index.js
index aaf982215..f2549504f 100644
--- a/apps/mobile/src/components/Menu/index.js
+++ b/apps/mobile/src/components/Menu/index.js
@@ -27,7 +27,11 @@ import {
import {useTracked} from '../../provider';
import {ACTIONS} from '../../provider/actions';
import {eSendEvent} from '../../services/eventManager';
-import {eClearSearch, eOpenModalMenu, refreshNotesPage} from '../../services/events';
+import {
+ eClearSearch,
+ eOpenModalMenu,
+ refreshNotesPage,
+} from '../../services/events';
import NavigationService from '../../services/NavigationService';
import {db, DDS, hexToRGBA, timeSince, ToastEvent} from '../../utils/utils';
import {sideMenuOverlayRef} from '../../utils/refs';
@@ -314,13 +318,14 @@ export const Menu = ({
key={item.title}
activeOpacity={opacity / 2}
onPress={() => {
- close();
- NavigationService.navigate('Notes', {
+ let params = {
title: item.title,
tag: item,
type: 'tag',
- });
-
+ };
+ NavigationService.navigate('Notes', params);
+ eSendEvent(refreshNotesPage, params);
+ close();
}}
style={{
flexDirection: 'row',
@@ -388,7 +393,7 @@ export const Menu = ({
type: 'color',
title: item.title,
color: item,
- }
+ };
NavigationService.navigate('Notes', params);
eSendEvent(refreshNotesPage, params);
close();
diff --git a/apps/mobile/src/views/Login/index.js b/apps/mobile/src/views/Login/index.js
index f3390580e..222a570ca 100644
--- a/apps/mobile/src/views/Login/index.js
+++ b/apps/mobile/src/views/Login/index.js
@@ -484,7 +484,7 @@ export const Login = ({navigation}) => {
activeOpacity={opacity}
onPress={_logIn}
style={{
- ...getElevation(10),
+ ...getElevation(5),
padding: pv,
backgroundColor: colors.accent,
borderRadius: 5,
diff --git a/apps/mobile/src/views/Signup/index.js b/apps/mobile/src/views/Signup/index.js
index 0e8eaaf39..b677e1768 100644
--- a/apps/mobile/src/views/Signup/index.js
+++ b/apps/mobile/src/views/Signup/index.js
@@ -650,7 +650,7 @@ export const Signup = ({navigation}) => {
activeOpacity={opacity}
onPress={_signUp}
style={{
- ...getElevation(10),
+ ...getElevation(5),
padding: pv,
backgroundColor: colors.accent,
borderRadius: 5,