mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
fixing android build
This commit is contained in:
parent
9c3c50c0b7
commit
f0dc45fe10
@ -77,7 +77,7 @@ export function Login() {
|
||||
{ !state.agree && (
|
||||
<MatIcons name={'checkbox-blank-outline'} size={20} color={Colors.primary} />
|
||||
)}
|
||||
<Text style={styles.agreetermstext}>{ state.strigs.agree }</Text>
|
||||
<Text style={styles.agreetermstext}>{ state.strings.agree }</Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
)}
|
||||
|
@ -60,7 +60,7 @@ export function Reset() {
|
||||
{ !state.agree && (
|
||||
<MatIcons name={'checkbox-blank-outline'} size={20} color={Colors.primary} />
|
||||
)}
|
||||
<Text style={styles.agreetermstext}>{state.string.agree}</Text>
|
||||
<Text style={styles.agreetermstext}>{state.strings.agree}</Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
)}
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { Alert, View, ScrollView, TouchableOpacity, StatusBar, Text, Image, Modal } from 'react-native';
|
||||
import { Alert, View, ScrollView, TouchableOpacity, StatusBar, Text, Image, Modal, Appearance } from 'react-native';
|
||||
import { useState, useEffect, useContext } from 'react';
|
||||
import { SafeAreaProvider, SafeAreaView } from 'react-native-safe-area-context';
|
||||
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
|
||||
import { createDrawerNavigator } from '@react-navigation/drawer';
|
||||
import { createStackNavigator } from '@react-navigation/stack';
|
||||
import { NavigationContainer } from '@react-navigation/native';
|
||||
import { NavigationContainer, DarkTheme, LightTheme } from '@react-navigation/native';
|
||||
import Ionicons from 'react-native-vector-icons/AntDesign';
|
||||
import MatIcons from 'react-native-vector-icons/MaterialCommunityIcons';
|
||||
import { useSession } from './useSession.hook';
|
||||
@ -407,7 +407,7 @@ export function Session({ sharing, clearSharing }) {
|
||||
}, [state.ringing]);
|
||||
|
||||
return (
|
||||
<NavigationContainer>
|
||||
<NavigationContainer theme={Appearance.getColorScheme() === 'dark' ? DarkTheme : LightTheme}>
|
||||
<View style={styles.body}>
|
||||
{ state.firstRun == true && (
|
||||
<SafeAreaView edges={['top', 'bottom']} style={styles.firstRun}>
|
||||
|
Loading…
Reference in New Issue
Block a user