Fix tab icon only on iOS 17

This commit is contained in:
Thomas Ricouard 2023-09-18 20:14:26 +02:00
parent e6455304ac
commit 625b7f8137

View file

@ -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)