mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 06:29:29 +01:00
fix position of skip for now button
This commit is contained in:
@@ -87,7 +87,8 @@ const AuthModal = () => {
|
|||||||
paddingHorizontal: 12,
|
paddingHorizontal: 12,
|
||||||
width: '100%',
|
width: '100%',
|
||||||
height: 50,
|
height: 50,
|
||||||
justifyContent: 'space-between'
|
justifyContent:
|
||||||
|
initialAuthMode.current !== AuthMode.welcomeSignup ? 'space-between' : 'flex-end'
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{initialAuthMode.current === AuthMode.welcomeSignup ? null : (
|
{initialAuthMode.current === AuthMode.welcomeSignup ? null : (
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import React, { useEffect, useRef, useState } from 'react';
|
import React, { useEffect, useRef } from 'react';
|
||||||
import { Platform, View } from 'react-native';
|
import { Platform, View } from 'react-native';
|
||||||
import RNBootSplash from 'react-native-bootsplash';
|
import RNBootSplash from 'react-native-bootsplash';
|
||||||
import { checkVersion } from 'react-native-check-version';
|
import { checkVersion } from 'react-native-check-version';
|
||||||
@@ -23,7 +23,6 @@ import { tabBarRef } from '../../utils/global-refs';
|
|||||||
import { SIZE } from '../../utils/size';
|
import { SIZE } from '../../utils/size';
|
||||||
import { sleep } from '../../utils/time';
|
import { sleep } from '../../utils/time';
|
||||||
import { SVG } from '../auth/background';
|
import { SVG } from '../auth/background';
|
||||||
import Intro from '../intro';
|
|
||||||
import NewFeature from '../sheets/new-feature/index';
|
import NewFeature from '../sheets/new-feature/index';
|
||||||
import { Update } from '../sheets/update';
|
import { Update } from '../sheets/update';
|
||||||
import { Button } from '../ui/button';
|
import { Button } from '../ui/button';
|
||||||
@@ -46,7 +45,7 @@ const Launcher = React.memo(
|
|||||||
const deviceMode = useSettingStore(state => state.deviceMode);
|
const deviceMode = useSettingStore(state => state.deviceMode);
|
||||||
const passwordInputRef = useRef();
|
const passwordInputRef = useRef();
|
||||||
const password = useRef();
|
const password = useRef();
|
||||||
const introCompleted = false; //SettingsService.get().introCompleted;
|
const introCompleted = useSettingStore(state => state.settings.introCompleted);
|
||||||
const dbInitCompleted = useRef(false);
|
const dbInitCompleted = useRef(false);
|
||||||
|
|
||||||
const loadNotes = async () => {
|
const loadNotes = async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user