mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-13 04:50:41 +00:00
better now
This commit is contained in:
parent
171a283128
commit
fe097bfd14
1 changed files with 1 additions and 1 deletions
|
|
@ -60,9 +60,9 @@ struct SettingsViewAlternateAppIconPicker: View {
|
|||
private func setAppIcon(named iconName: String) {
|
||||
if UIApplication.shared.supportsAlternateIcons {
|
||||
UIApplication.shared.setAlternateIconName(iconName == "Default" ? nil : "AppIcon_\(iconName)", completionHandler: { error in
|
||||
isPresented = false
|
||||
if let error = error {
|
||||
Logger.shared.log("Failed to set alternate icon: \(error.localizedDescription)", type: "Error")
|
||||
isPresented = false
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue