mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
refactor Navigation
This commit is contained in:
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import {ActivityIndicator, StyleSheet, View} from 'react-native';
|
||||
import {useTracked} from '../../provider';
|
||||
import {DDS} from '../../services/DeviceDetection';
|
||||
import NavigationService from '../../services/Navigation';
|
||||
import Navigation from '../../services/Navigation';
|
||||
import {dWidth} from '../../utils';
|
||||
import {SIZE} from '../../utils/SizeUtils';
|
||||
import {ActionIcon} from '../ActionIcon';
|
||||
@@ -18,7 +18,9 @@ export const HeaderRightMenu = () => {
|
||||
|
||||
<ActionIcon
|
||||
onPress={async () => {
|
||||
NavigationService.navigate('Search');
|
||||
Navigation.navigate('Search',{
|
||||
menu:false
|
||||
});
|
||||
}}
|
||||
name="magnify"
|
||||
size={SIZE.xxxl}
|
||||
|
||||
Reference in New Issue
Block a user