Skip to content

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

wrap logbox check in __DEV__

ammarahm-ed57b95056dbb9
diff --git a/apps/mobile/index.js b/apps/mobile/index.js
index 446769c38..65815fc34 100644
--- a/apps/mobile/index.js
+++ b/apps/mobile/index.js
@@ -9,7 +9,9 @@ global.Buffer = require('buffer').Buffer;
enableScreens(true);
UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true);
-//LogBox.ignoreAllLogs();
+if (__DEV__) {
+ LogBox.ignoreAllLogs();
+}
let Provider;
let App;