Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

add launchscreen on android

ammarahm-ed0b6631e26235
diff --git a/apps/mobile/App.js b/apps/mobile/App.js
index d1c575fa0..f135d7e50 100644
--- a/apps/mobile/App.js
+++ b/apps/mobile/App.js
@@ -29,6 +29,7 @@ import {DDS} from './src/services/DeviceDetection';
import {MMKV} from './src/utils/mmkv';
import Backup from './src/services/Backup';
import {setLoginMessage} from './src/services/Message';
+import SplashScreen from 'react-native-splash-screen';
let firstLoad = true;
let note = null;
@@ -161,11 +162,14 @@ const App = () => {
setInit(true);
backupData();
- if (error) {
+
setTimeout(() => {
- ToastEvent.show(error.message);
+ if (error) {
+ ToastEvent.show(error.message);
+ }
+ SplashScreen.hide();
}, 500);
- }
+
});
}, []);
@@ -208,6 +212,7 @@ const App = () => {
}
dispatch({type: Actions.SETTINGS, settings: {...settings}});
updateSize();
+
await updateTheme();
}
diff --git a/apps/mobile/android/app/src/main/assets/fonts/DMSans-Bold.ttf b/apps/mobile/android/app/src/main/assets/fonts/DMSans-Bold.ttf
deleted file mode 100755
index 7fd94a28b..000000000
Binary files a/apps/mobile/android/app/src/main/assets/fonts/DMSans-Bold.ttf and /dev/null differ
diff --git a/apps/mobile/android/app/src/main/java/com/streetwriters/notesnook/MyTextView.java b/apps/mobile/android/app/src/main/java/com/streetwriters/notesnook/MyTextView.java
new file mode 100644
index 000000000..e69de29bb