Skip to content

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

fix position of skip for now button

Ammar Ahmed296e64d53ca6
diff --git a/apps/mobile/src/components/auth/authmodal.js b/apps/mobile/src/components/auth/authmodal.js
index 2ccd15197..1d239c742 100644
--- a/apps/mobile/src/components/auth/authmodal.js
+++ b/apps/mobile/src/components/auth/authmodal.js
@@ -87,7 +87,8 @@ const AuthModal = () => {
paddingHorizontal: 12,
width: '100%',
height: 50,
- justifyContent: 'space-between'
+ justifyContent:
+ initialAuthMode.current !== AuthMode.welcomeSignup ? 'space-between' : 'flex-end'
}}
>
{initialAuthMode.current === AuthMode.welcomeSignup ? null : (
diff --git a/apps/mobile/src/components/launcher/index.js b/apps/mobile/src/components/launcher/index.js
index 3c7fe1e8d..958240890 100644
--- a/apps/mobile/src/components/launcher/index.js
+++ b/apps/mobile/src/components/launcher/index.js
@@ -1,4 +1,4 @@
-import React, { useEffect, useRef, useState } from 'react';
+import React, { useEffect, useRef } from 'react';
import { Platform, View } from 'react-native';
import RNBootSplash from 'react-native-bootsplash';
import { checkVersion } from 'react-native-check-version';
@@ -23,7 +23,6 @@ import { tabBarRef } from '../../utils/global-refs';
import { SIZE } from '../../utils/size';
import { sleep } from '../../utils/time';
import { SVG } from '../auth/background';
-import Intro from '../intro';
import NewFeature from '../sheets/new-feature/index';
import { Update } from '../sheets/update';
import { Button } from '../ui/button';
@@ -46,7 +45,7 @@ const Launcher = React.memo(
const deviceMode = useSettingStore(state => state.deviceMode);
const passwordInputRef = useRef();
const password = useRef();
- const introCompleted = false; //SettingsService.get().introCompleted;
+ const introCompleted = useSettingStore(state => state.settings.introCompleted);
const dbInitCompleted = useRef(false);
const loadNotes = async () => {