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
minor ux improvements on smaller devices
ammarahm-ed936430c2938c
diff --git a/apps/mobile/src/components/SplashScreen/index.js b/apps/mobile/src/components/SplashScreen/index.jsindex 2ae815d0f..83ba96617 100644--- a/apps/mobile/src/components/SplashScreen/index.js+++ b/apps/mobile/src/components/SplashScreen/index.js@@ -1,5 +1,5 @@import React, { useEffect } from 'react';-import { Dimensions, Image, View, TouchableOpacity } from 'react-native';+import { Dimensions, Image, View, TouchableOpacity, useWindowDimensions } from 'react-native';import Icon from 'react-native-vector-icons/MaterialCommunityIcons';import Animated, { Easing, timing, useValue } from 'react-native-reanimated';import { SafeAreaView } from 'react-native-safe-area-context';@@ -29,6 +29,7 @@ const SplashScreen = () => {const setIntroCompleted = useSettingStore(state => state.setIntroCompleted);const settings = useSettingStore(state => state.settings);const isTelemetryEnabled = settings.telemetry;+ const { height } = useWindowDimensions();const opacity = useValue(0);const translateY = useValue(5);@@ -117,7 +118,8 @@ const SplashScreen = () => {marginBottom: 100}}>- <SvgToPngView width={200} height={200} src={SVG_D} />+ <SvgToPngView width={height / 4} height={height / 4} src={SVG_D} />+<Viewstyle={{marginTop: 40,@@ -138,10 +140,11 @@ const SplashScreen = () => {width: '100%',zIndex: 20,position: 'absolute',- bottom: 80+ bottom: height / 10}}><TouchableOpacity+ activeOpacity={1}style={{flexDirection: 'row',alignSelf: 'center',@@ -178,10 +181,10 @@ const SplashScreen = () => {height={45}width={250}onPress={async () => {+ AppLock.present(true);await hide();await MMKV.setItem('introCompleted', 'true');umami.pageView('/home', '/welcome');- AppLock.present(true);}}style={{paddingHorizontal: 24,diff --git a/apps/mobile/src/views/Settings/applock.js b/apps/mobile/src/views/Settings/applock.jsindex a5690cc65..139a56d32 100644--- a/apps/mobile/src/views/Settings/applock.js+++ b/apps/mobile/src/views/Settings/applock.js@@ -75,7 +75,9 @@ const AppLock = welcome => {<View><Heading>Protect your notes</Heading>- <Paragraph>Choose how you want to secure your notes locally.</Paragraph>+ <Paragraph size={SIZE.md}>+ Choose how you want to secure your notes locally.+ </Paragraph></View></View><Seperator />@@ -122,32 +124,34 @@ const AppLock = welcome => {</PressableButton>))}- <Button- fontSize={SIZE.md}- height={45}- width={250}- onPress={async () => {- LayoutAnimation.configureNext({- ...LayoutAnimation.Presets.linear,- delete: {- duration: 50,- property: 'opacity',- type: 'linear'- }- });- umami.pageView('/privacymode', '/welcome');- setStep(1);- }}- style={{- paddingHorizontal: 24,- alignSelf: 'center',- borderRadius: 100,- ...getElevation(5),- marginTop: 30- }}- type="accent"- title="Next"- />+ {welcome && (+ <Button+ fontSize={SIZE.md}+ height={45}+ width={250}+ onPress={async () => {+ LayoutAnimation.configureNext({+ ...LayoutAnimation.Presets.linear,+ delete: {+ duration: 50,+ property: 'opacity',+ type: 'linear'+ }+ });+ umami.pageView('/privacymode', '/welcome');+ setStep(1);+ }}+ style={{+ paddingHorizontal: 24,+ alignSelf: 'center',+ borderRadius: 100,+ ...getElevation(5),+ marginTop: 30+ }}+ type="accent"+ title="Next"+ />+ )}</View></>) : (diff --git a/apps/mobile/src/views/Settings/privacy.js b/apps/mobile/src/views/Settings/privacy.jsindex faaa82257..a37e8833c 100644--- a/apps/mobile/src/views/Settings/privacy.js+++ b/apps/mobile/src/views/Settings/privacy.js@@ -165,7 +165,7 @@ const SettingsPrivacyAndSecurity = () => {<CustomButtonkey="telemetry"title="Enable telemetry"- tagline="Usage data & crash reports will be sent to us for analytics (no 3rd party involved). All data is anonymous as mentioned in our privacy policy."+ tagline="Help improve Notesnook by sending completely anonymized private analytics and bug reports."onPress={() => {SettingsService.set('telemetry', !settings.telemetry);}}