mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-03-06 09:46:17 +00:00
wip
This commit is contained in:
@@ -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