FIX: eslint

This commit is contained in:
Ivan Vershigora 2021-03-12 16:19:51 +03:00
parent 46e9bbdb1c
commit 2ffe4bfd2c
2 changed files with 3 additions and 3 deletions

4
App.js
View file

@ -12,7 +12,7 @@ import {
UIManager,
useColorScheme,
View,
StatusBar,
StatusBar,
} from 'react-native';
import { NavigationContainer, CommonActions } from '@react-navigation/native';
import { SafeAreaProvider } from 'react-native-safe-area-context';
@ -337,7 +337,7 @@ const App = () => {
return (
<SafeAreaProvider>
<View style={styles.root}>
<StatusBar barStyle={colorScheme === 'dark' ? 'light-content' : 'dark-content'} backgroundColor="transparent" translucent={true} />
<StatusBar barStyle={colorScheme === 'dark' ? 'light-content' : 'dark-content'} backgroundColor="transparent" translucent />
<NavigationContainer ref={navigationRef} theme={colorScheme === 'dark' ? BlueDarkTheme : BlueDefaultTheme}>
<InitRoot />
<Notifications onProcessNotifications={processPushNotifications} />

View file

@ -443,7 +443,7 @@ const WalletsList = () => {
return (
<View style={styles.root} onLayout={onLayout}>
<StatusBar barStyle={colorScheme === 'dark' ? 'light-content' : 'dark-content'} backgroundColor="transparent" translucent={true} />
<StatusBar barStyle={colorScheme === 'dark' ? 'light-content' : 'dark-content'} backgroundColor="transparent" translucent />
<View style={[styles.walletsListWrapper, stylesHook.walletsListWrapper]}>
<SectionList
onRefresh={onRefresh}