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 note is not displayed
Ammar Ahmed967b6cabc53f
diff --git a/apps/mobile/src/components/header/rightmenus.js b/apps/mobile/src/components/header/rightmenus.jsindex 73e89bf09..d44536100 100644--- a/apps/mobile/src/components/header/rightmenus.js+++ b/apps/mobile/src/components/header/rightmenus.js@@ -1,5 +1,5 @@import React, { useRef } from 'react';-import { StyleSheet, View } from 'react-native';+import { Platform, StyleSheet, View } from 'react-native';import Menu from 'react-native-reanimated-material-menu';import { notesnook } from '../../../e2e/test.ids';import Navigation from '../../services/navigation';@@ -8,6 +8,7 @@ import useNavigationStore from '../../stores/use-navigation-store';import { useSettingStore } from '../../stores/use-setting-store';import { useThemeStore } from '../../stores/use-theme-store';import { SIZE } from '../../utils/size';+import { sleep } from '../../utils/time';import { Button } from '../ui/button';import { IconButton } from '../ui/icon-button';@@ -92,7 +93,11 @@ export const RightMenus = () => {}}key={item.title}title={item.title}- onPress={item.onPress}+ onPress={async () => {+ menuRef.current?.hide();+ if (Platform.OS === 'ios') await sleep(300);+ item.onPress();+ }}/>))}</Menu>