forked from Ninjalama/streamyfin_mirror
wip
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user