mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-09-22 22:28:22 +03:00
fix statusbar
This commit is contained in:
@@ -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}}/>
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
"ios": {
|
||||
"bundleIdentifier": "moe.ppc.amnet",
|
||||
"infoPlist": {
|
||||
"UIViewControllerBasedStatusBarAppearance": "YES"
|
||||
"UIUserInterfaceStyle": "Automatic",
|
||||
"UIViewControllerBasedStatusBarAppearance": "NO"
|
||||
}
|
||||
},
|
||||
"plugins": [
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"cli": {
|
||||
"version": ">= 0.42.4"
|
||||
},
|
||||
"build": {
|
||||
"development": {
|
||||
"developmentClient": true,
|
||||
"distribution": "internal"
|
||||
},
|
||||
"preview": {
|
||||
"distribution": "internal"
|
||||
},
|
||||
"production": {}
|
||||
},
|
||||
"submit": {
|
||||
"production": {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user