Add tag selector layout animations

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2023-07-26 18:31:32 +03:00
parent acba17462f
commit cecede4e28
8 changed files with 69 additions and 24 deletions

View File

@@ -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) {