mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
update menu
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React, {useEffect, useState} from 'react';
|
||||
import {Dimensions, Platform, View} from 'react-native';
|
||||
import {Dimensions, View} from 'react-native';
|
||||
import ScrollableTabView from 'react-native-scrollable-tab-view';
|
||||
import {notesnook} from './e2e/test.ids';
|
||||
import ContextMenu from './src/components/ContextMenu';
|
||||
@@ -173,7 +173,7 @@ const AppStack = React.memo(
|
||||
console.log(mode);
|
||||
DDS.setSize(size);
|
||||
dispatch({type: Actions.DEVICE_MODE, state: mode});
|
||||
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -190,7 +190,7 @@ const AppStack = React.memo(
|
||||
});
|
||||
|
||||
setWidthHeight(size);
|
||||
console.log(size,"SIZES")
|
||||
console.log(size, 'SIZES');
|
||||
DDS.setSize(size);
|
||||
if (DDS.isLargeTablet()) {
|
||||
setDeviceMode('tablet', size);
|
||||
|
||||
Reference in New Issue
Block a user