mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-09-03 00:23:49 +00:00
Fix tab icon only on iOS 17
This commit is contained in:
parent
e6455304ac
commit
625b7f8137
1 changed files with 1 additions and 3 deletions
|
@ -187,10 +187,8 @@ struct IceCubesApp: App {
|
||||||
.tabItem {
|
.tabItem {
|
||||||
if userPreferences.showiPhoneTabLabel {
|
if userPreferences.showiPhoneTabLabel {
|
||||||
tab.label
|
tab.label
|
||||||
.labelStyle(TitleAndIconLabelStyle())
|
|
||||||
} else {
|
} else {
|
||||||
tab.label
|
Image(systemName: tab.iconName)
|
||||||
.labelStyle(IconOnlyLabelStyle())
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.tag(tab)
|
.tag(tab)
|
||||||
|
|
Loading…
Reference in a new issue