From 266271e50a4f123454c3ec68ae664f8a1971f72c Mon Sep 17 00:00:00 2001 From: ppc Date: Tue, 13 Aug 2024 15:58:19 +0100 Subject: [PATCH] fix statusbar --- amnet-native/App.tsx | 2 ++ amnet-native/app.json | 3 ++- amnet-native/eas.json | 18 ------------------ 3 files changed, 4 insertions(+), 19 deletions(-) delete mode 100644 amnet-native/eas.json diff --git a/amnet-native/App.tsx b/amnet-native/App.tsx index 96c9b76..a02e7de 100644 --- a/amnet-native/App.tsx +++ b/amnet-native/App.tsx @@ -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() { + {/* main app */} diff --git a/amnet-native/app.json b/amnet-native/app.json index d6832a7..5542062 100644 --- a/amnet-native/app.json +++ b/amnet-native/app.json @@ -5,7 +5,8 @@ "ios": { "bundleIdentifier": "moe.ppc.amnet", "infoPlist": { - "UIViewControllerBasedStatusBarAppearance": "YES" + "UIUserInterfaceStyle": "Automatic", + "UIViewControllerBasedStatusBarAppearance": "NO" } }, "plugins": [ diff --git a/amnet-native/eas.json b/amnet-native/eas.json deleted file mode 100644 index 02af621..0000000 --- a/amnet-native/eas.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "cli": { - "version": ">= 0.42.4" - }, - "build": { - "development": { - "developmentClient": true, - "distribution": "internal" - }, - "preview": { - "distribution": "internal" - }, - "production": {} - }, - "submit": { - "production": {} - } -}