Skip to content

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

fix button pos on splashscreen on tablet

ammarahm-ed661013dde153
diff --git a/apps/mobile/src/components/SplashScreen/index.js b/apps/mobile/src/components/SplashScreen/index.js
index 432300726..c3650ca07 100644
--- a/apps/mobile/src/components/SplashScreen/index.js
+++ b/apps/mobile/src/components/SplashScreen/index.js
@@ -205,7 +205,7 @@ const SplashScreen = () => {
}}
style={{
paddingHorizontal: 24,
- alignSelf: !isNext ? 'center' : 'flex-end'
+ alignSelf:'center'
}}
type="accent"
title={isNext ? 'Next' : 'Sign up'}
@@ -215,14 +215,14 @@ const SplashScreen = () => {
<Button
fontSize={SIZE.md}
height={50}
- width="100%"
+ width={DDS.isTab ? 350 : '100%'}
onPress={async () => {
await hide();
await MMKV.setItem('introCompleted', 'true');
}}
style={{
paddingHorizontal: 24,
- alignSelf: !isNext ? 'center' : 'flex-end',
+ alignSelf:'center',
marginTop: 10
}}
type="grayBg"