Fix issue with changing to default icon.
This commit is contained in:
parent
f72d1af9ba
commit
4783716712
|
@ -35,7 +35,7 @@ struct GeneralSectionView: View {
|
|||
.pickerStyle(.navigationLink)
|
||||
.onChange(of: self.applicationState.activeIcon) { iconName in
|
||||
ApplicationSettingsHandler.shared.set(activeIcon: iconName)
|
||||
UIApplication.shared.setAlternateIconName(iconName)
|
||||
UIApplication.shared.setAlternateIconName(iconName == "Default" ? nil : iconName)
|
||||
}
|
||||
|
||||
// Application theme.
|
||||
|
|
Loading…
Reference in New Issue