A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
cleanup
ammarahm-edbacfcb117ba2
diff --git a/apps/mobile/src/services/DeviceDetection.js b/apps/mobile/src/services/DeviceDetection.jsindex 6b2a6e656..4a25bab70 100644--- a/apps/mobile/src/services/DeviceDetection.js+++ b/apps/mobile/src/services/DeviceDetection.js@@ -30,7 +30,7 @@ export class DeviceDetectionService {this.isPhoneOrTablet();this.isIosOrAndroid();this.detectIphoneX();- console.log(size.width > size.height,"CALC")+ //console.log(size.width > size.height,"CALC")this.checkSmallTab(size.width > size.height ? 'LANDSCAPE' : 'PORTRAIT');}@@ -49,12 +49,12 @@ export class DeviceDetectionService {this.height = Dimensions.get('screen').height;let deviceSize = this.getDeviceSize();- console.log(deviceSize, orientation, DeviceInfo.isTablet(), 'DATA');+ //console.log(deviceSize, orientation, DeviceInfo.isTablet(), 'DATA');if ((!DeviceInfo.isTablet() && orientation === 'LANDSCAPE') ||(DeviceInfo.isTablet() && (orientation === 'PORTRAIT' || deviceSize < 9))) {- console.log('small tab')+ //console.log('small tab')this.isTab = true;this.isPhone = false;this.isSmallTab = true;@@ -63,7 +63,7 @@ export class DeviceDetectionService {orientation === 'LANDSCAPE' &&deviceSize > 9) {- console.log('large tab tab')+ //console.log('large tab tab')//console.log('setting large tablet');this.isTab = true;this.isPhone = false;