pls pls pls b fixed

This commit is contained in:
neon443
2025-05-15 18:00:22 +01:00
parent 565341c3d0
commit e9d49cc137
3 changed files with 16 additions and 16 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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 {