Add tag selector layout animations
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { AppState, StatusBar, useColorScheme, StyleSheet } from 'react-native';
|
||||
import {
|
||||
AppState,
|
||||
StatusBar,
|
||||
useColorScheme,
|
||||
StyleSheet,
|
||||
UIManager,
|
||||
} from 'react-native';
|
||||
import { PaperProvider } from 'react-native-paper';
|
||||
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
||||
import { RealmProvider } from '@realm/react';
|
||||
@@ -27,6 +33,7 @@ const App = () => {
|
||||
const theme = isDarkMode ? darkTheme : lightTheme;
|
||||
|
||||
const onBeforeLift = async () => {
|
||||
UIManager.setLayoutAnimationEnabledExperimental(true);
|
||||
await store.dispatch(validateSettings());
|
||||
const { settings } = store.getState();
|
||||
if (!settings.storageUri) {
|
||||
|
Reference in New Issue
Block a user