fix statusbar

This commit is contained in:
ppc
2024-08-13 15:58:19 +01:00
parent b054bf4d4c
commit 266271e50a
3 changed files with 4 additions and 19 deletions
+2
View File
@@ -12,6 +12,7 @@ import {adaptNavigationTheme, MD3DarkTheme, MD3Theme, PaperProvider} from 'react
import CardAddModal from "./app/CardAddModal";
import ServerManager from "./app/ServerManager";
import CardManagerStack from "./app/CardManagerStack";
import {StatusBar} from "expo-status-bar";
// blend themes to be a combination of react-native-paper and shadcn/ui
const AMDarkTheme: MD3Theme = {
@@ -59,6 +60,7 @@ export default function AppRoot() {
<SafeAreaProvider>
<PaperProvider theme={AMDarkTheme}>
<NavigationContainer theme={DarkTheme}>
<StatusBar />
<Stack.Navigator initialRouteName="app-root">
{/* main app */}
<Stack.Screen name="app-root" component={AppContent} options={{headerShown: false}}/>
+2 -1
View File
@@ -5,7 +5,8 @@
"ios": {
"bundleIdentifier": "moe.ppc.amnet",
"infoPlist": {
"UIViewControllerBasedStatusBarAppearance": "YES"
"UIUserInterfaceStyle": "Automatic",
"UIViewControllerBasedStatusBarAppearance": "NO"
}
},
"plugins": [
-18
View File
@@ -1,18 +0,0 @@
{
"cli": {
"version": ">= 0.42.4"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal"
},
"production": {}
},
"submit": {
"production": {}
}
}