diff --git a/Config.xcconfig b/Config.xcconfig index 5df58f0..b1dac91 100644 --- a/Config.xcconfig +++ b/Config.xcconfig @@ -12,6 +12,6 @@ TEAM_ID = 8JGND254B7 BUNDLE_ID = com.neon443.NearFuture BUNDLE_ID_WIDGETS = com.neon443.NearFuture.widgets GROUP_ID = group.NearFuture -VERSION = 4.3.5 +VERSION = 4.3.6 NAME = Near Future BUILD_NUMBER = 1 diff --git a/NearFuture/Views/Settings/SettingsView.swift b/NearFuture/Views/Settings/SettingsView.swift index f3ff4c6..14aef6a 100644 --- a/NearFuture/Views/Settings/SettingsView.swift +++ b/NearFuture/Views/Settings/SettingsView.swift @@ -41,20 +41,21 @@ struct SettingsView: View { } func changeIcon(to: String) { - guard UIApplication.shared.supportsAlternateIcons else { - print("doesnt tsupport alternate icons") - return - } - print(UIApplication.shared.supportsAlternateIcons) - guard !(to == "orange") else { - UIApplication.shared.setAlternateIconName(nil) { error in - print(error as Any) - } - return - } - UIApplication.shared.setAlternateIconName(to) { error in - print(error as Any) - } + UIApplication.shared.setAlternateIconName(to) +// guard UIApplication.shared.supportsAlternateIcons else { +// print("doesnt tsupport alternate icons") +// return +// } +// print(UIApplication.shared.supportsAlternateIcons) +// guard !(to == "orange") else { +// UIApplication.shared.setAlternateIconName(nil) { error in +// print(error as Any) +// } +// return +// } +// UIApplication.shared.setAlternateIconName(to) { error in +// print(error as Any) +// } } var body: some View {