diff --git a/Config.xcconfig b/Config.xcconfig index 12a069b..9737dc0 100644 --- a/Config.xcconfig +++ b/Config.xcconfig @@ -8,9 +8,9 @@ // Configuration settings file format documentation can be found at: // https://developer.apple.com/documentation/xcode/adding-a-build-configuration-file-to-your-project -TEAM_ID = 8JGND254B7 -BUNDLE_ID = com.neon443.NearFuture -BUNDLE_ID_WIDGETS = com.neon443.NearFuture.widgets +TEAM_ID = 4UMKR5C7LL +BUNDLE_ID = com.aarti.NearFuture +BUNDLE_ID_WIDGETS = com.aarti.NearFuture.widgets GROUP_ID = group.NearFuture VERSION = 5.0.1 NAME = Near Future diff --git a/NearFuture.xcodeproj/project.pbxproj b/NearFuture.xcodeproj/project.pbxproj index 3aeae7e..03b118a 100644 --- a/NearFuture.xcodeproj/project.pbxproj +++ b/NearFuture.xcodeproj/project.pbxproj @@ -831,7 +831,7 @@ CURRENT_PROJECT_VERSION = "$(BUILD_NUMBER)"; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = "\"NearFuture/Preview Content\""; - DEVELOPMENT_TEAM = "$(TEAM_ID)"; + DEVELOPMENT_TEAM = 4UMKR5C7LL; ENABLE_HARDENED_RUNTIME = NO; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; @@ -885,7 +885,7 @@ CURRENT_PROJECT_VERSION = "$(BUILD_NUMBER)"; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = "\"NearFuture/Preview Content\""; - DEVELOPMENT_TEAM = "$(TEAM_ID)"; + DEVELOPMENT_TEAM = 4UMKR5C7LL; ENABLE_HARDENED_RUNTIME = NO; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; diff --git a/Shared/ViewModifiers.swift b/Shared/ViewModifiers.swift index c68a1ad..d320746 100644 --- a/Shared/ViewModifiers.swift +++ b/Shared/ViewModifiers.swift @@ -44,13 +44,13 @@ struct hapticSuccess: ViewModifier { struct glassButton: ViewModifier { func body(content: Content) -> some View { -#if swift(>=6.2) - content.buttonStyle(.glass) -#else - content.buttonStyle(.borderedProminent) - .clipShape(RoundedRectangle(cornerRadius: 15)) - .tint(.two) -#endif + if #available(iOS 19, *) { + content.buttonStyle(.glass) + } else { + content.buttonStyle(.borderedProminent) + .clipShape(RoundedRectangle(cornerRadius: 15)) + .tint(.two) + } } }