Fix tab icon only on iOS 17
This commit is contained in:
parent
e6455304ac
commit
625b7f8137
|
@ -187,10 +187,8 @@ struct IceCubesApp: App {
|
|||
.tabItem {
|
||||
if userPreferences.showiPhoneTabLabel {
|
||||
tab.label
|
||||
.labelStyle(TitleAndIconLabelStyle())
|
||||
} else {
|
||||
tab.label
|
||||
.labelStyle(IconOnlyLabelStyle())
|
||||
Image(systemName: tab.iconName)
|
||||
}
|
||||
}
|
||||
.tag(tab)
|
||||
|
|
Loading…
Reference in New Issue