mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
reduce delay in capturing intent and loading app
This commit is contained in:
@@ -55,11 +55,20 @@ const onChangeTab = async (obj) => {
|
||||
|
||||
export const RootView = () => {
|
||||
const [state] = useTracked();
|
||||
const {colors} = state;
|
||||
const {colors, intentMode} = state;
|
||||
|
||||
return (
|
||||
<>
|
||||
<NavigationStack component={AppStack} />
|
||||
{intentMode ? (
|
||||
<EditorWrapper
|
||||
dimensions={{
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
}}
|
||||
/>
|
||||
) : (
|
||||
<NavigationStack component={AppStack} />
|
||||
)}
|
||||
<Toast />
|
||||
<ContextMenu />
|
||||
<DummyText />
|
||||
|
||||
Reference in New Issue
Block a user