diff --git a/bun.lockb b/bun.lockb index 3095e00f..70915f76 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 248a3101..8bbf2da9 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "@types/uuid": "^10.0.0", "add": "^2.0.6", "axios": "^1.7.7", - "expo": "~51.0.36", + "expo": "~51.0.38", "expo-background-fetch": "~12.0.1", "expo-blur": "~13.0.2", "expo-build-properties": "~0.12.5", @@ -49,7 +49,7 @@ "expo-linking": "~6.3.1", "expo-navigation-bar": "~3.0.7", "expo-network": "~6.0.1", - "expo-notifications": "~0.28.18", + "expo-notifications": "~0.28.19", "expo-router": "~3.5.23", "expo-screen-orientation": "~7.0.5", "expo-sensors": "~13.0.9", diff --git a/plugins/withNativeStyles.js b/plugins/withNativeStyles.js index 81d80326..4c4b5f21 100644 --- a/plugins/withNativeStyles.js +++ b/plugins/withNativeStyles.js @@ -57,7 +57,7 @@ function withNativeTabBarStyles(config) { // Add custom bottom navigation style styleContents.resources.style.push({ $: { - name: "Widget.Material3.BottomNavigationView", + name: "CustomBottomNavigationView", parent: "@style/Widget.Material3.BottomNavigationView", }, item: [ @@ -72,6 +72,18 @@ function withNativeTabBarStyles(config) { ], }); + const bottomNavigationStyleItem = appTheme.item.find( + (item) => item.$.name === "bottomNavigationStyle" + ); + if (bottomNavigationStyleItem) { + bottomNavigationStyleItem._ = "@style/CustomBottomNavigationView"; + } else { + appTheme.item.push({ + $: { name: "bottomNavigationStyle" }, + _: "@style/CustomBottomNavigationView", + }); + } + return { ...config, modResults: styleContents,