mirror of
https://github.com/neon443/NearFuture.git
synced 2026-03-11 06:49:12 +00:00
modified: Config.xcconfig
This commit is contained in:
@@ -12,6 +12,6 @@ TEAM_ID = 8JGND254B7
|
|||||||
BUNDLE_ID = com.neon443.NearFuture
|
BUNDLE_ID = com.neon443.NearFuture
|
||||||
BUNDLE_ID_WIDGETS = com.neon443.NearFuture.widgets
|
BUNDLE_ID_WIDGETS = com.neon443.NearFuture.widgets
|
||||||
GROUP_ID = group.NearFuture
|
GROUP_ID = group.NearFuture
|
||||||
VERSION = 4.3.5
|
VERSION = 4.3.6
|
||||||
NAME = Near Future
|
NAME = Near Future
|
||||||
BUILD_NUMBER = 1
|
BUILD_NUMBER = 1
|
||||||
|
|||||||
@@ -41,20 +41,21 @@ struct SettingsView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func changeIcon(to: String) {
|
func changeIcon(to: String) {
|
||||||
guard UIApplication.shared.supportsAlternateIcons else {
|
UIApplication.shared.setAlternateIconName(to)
|
||||||
print("doesnt tsupport alternate icons")
|
// guard UIApplication.shared.supportsAlternateIcons else {
|
||||||
return
|
// print("doesnt tsupport alternate icons")
|
||||||
}
|
// return
|
||||||
print(UIApplication.shared.supportsAlternateIcons)
|
// }
|
||||||
guard !(to == "orange") else {
|
// print(UIApplication.shared.supportsAlternateIcons)
|
||||||
UIApplication.shared.setAlternateIconName(nil) { error in
|
// guard !(to == "orange") else {
|
||||||
print(error as Any)
|
// UIApplication.shared.setAlternateIconName(nil) { error in
|
||||||
}
|
// print(error as Any)
|
||||||
return
|
// }
|
||||||
}
|
// return
|
||||||
UIApplication.shared.setAlternateIconName(to) { error in
|
// }
|
||||||
print(error as Any)
|
// UIApplication.shared.setAlternateIconName(to) { error in
|
||||||
}
|
// print(error as Any)
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
|||||||
Reference in New Issue
Block a user