mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
add a little delay before hiding splash screen
This commit is contained in:
@@ -29,6 +29,7 @@ import {
|
|||||||
eOpenSideMenu,
|
eOpenSideMenu,
|
||||||
} from './src/utils/Events';
|
} from './src/utils/Events';
|
||||||
import {editorRef, tabBarRef} from './src/utils/Refs';
|
import {editorRef, tabBarRef} from './src/utils/Refs';
|
||||||
|
import { sleep } from './src/utils/TimeUtils';
|
||||||
import {EditorWrapper} from './src/views/Editor/EditorWrapper';
|
import {EditorWrapper} from './src/views/Editor/EditorWrapper';
|
||||||
import {getIntent, getNote, post} from './src/views/Editor/Functions';
|
import {getIntent, getNote, post} from './src/views/Editor/Functions';
|
||||||
|
|
||||||
@@ -198,7 +199,7 @@ const AppStack = React.memo(
|
|||||||
if (!SettingsService.getApploaded()) {
|
if (!SettingsService.getApploaded()) {
|
||||||
eSendEvent('nointent');
|
eSendEvent('nointent');
|
||||||
}
|
}
|
||||||
SplashScreen.hide();
|
sleep(100).then(() => SplashScreen.hide() )
|
||||||
}
|
}
|
||||||
|
|
||||||
function setDeviceMode(current, size) {
|
function setDeviceMode(current, size) {
|
||||||
|
|||||||
Reference in New Issue
Block a user