mirror of
https://github.com/neon443/NearFuture.git
synced 2026-03-11 14:56:15 +00:00
pls pls pls b fixed
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.6
|
VERSION = 4.3.7
|
||||||
NAME = Near Future
|
NAME = Near Future
|
||||||
BUILD_NUMBER = 1
|
BUILD_NUMBER = 1
|
||||||
|
|||||||
@@ -711,6 +711,7 @@
|
|||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
baseConfigurationReference = A90FDE222DC0D4310012790C /* Config.xcconfig */;
|
baseConfigurationReference = A90FDE222DC0D4310012790C /* Config.xcconfig */;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
|
ASSETCATALOG_COMPILER_ALTERNATE_APPICON_NAMES = "bloo blue green pink purple red yellow";
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||||
CLANG_USE_OPTIMIZATION_PROFILE = YES;
|
CLANG_USE_OPTIMIZATION_PROFILE = YES;
|
||||||
@@ -763,6 +764,7 @@
|
|||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
baseConfigurationReference = A90FDE222DC0D4310012790C /* Config.xcconfig */;
|
baseConfigurationReference = A90FDE222DC0D4310012790C /* Config.xcconfig */;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
|
ASSETCATALOG_COMPILER_ALTERNATE_APPICON_NAMES = "bloo blue green pink purple red yellow";
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||||
CLANG_USE_OPTIMIZATION_PROFILE = YES;
|
CLANG_USE_OPTIMIZATION_PROFILE = YES;
|
||||||
|
|||||||
@@ -41,21 +41,19 @@ struct SettingsView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func changeIcon(to: String) {
|
func changeIcon(to: String) {
|
||||||
UIApplication.shared.setAlternateIconName(to)
|
guard UIApplication.shared.supportsAlternateIcons else {
|
||||||
// guard UIApplication.shared.supportsAlternateIcons else {
|
print("doesnt tsupport alternate icons")
|
||||||
// print("doesnt tsupport alternate icons")
|
return
|
||||||
// return
|
}
|
||||||
// }
|
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