diff --git a/apps/ios/Shared/ContentView.swift b/apps/ios/Shared/ContentView.swift index ab891a6613..3d38c4c7ec 100644 --- a/apps/ios/Shared/ContentView.swift +++ b/apps/ios/Shared/ContentView.swift @@ -30,7 +30,6 @@ struct ContentView: View { .alert(isPresented: $alertManager.presentAlert) { alertManager.alertView! } } else { WelcomeView() - .alert(isPresented: $alertManager.presentAlert) { alertManager.alertView! } } } diff --git a/apps/ios/Shared/Views/WelcomeView.swift b/apps/ios/Shared/Views/WelcomeView.swift index ddeb67afb6..fc57cca555 100644 --- a/apps/ios/Shared/Views/WelcomeView.swift +++ b/apps/ios/Shared/Views/WelcomeView.swift @@ -34,16 +34,9 @@ struct WelcomeView: View { .padding(.bottom) ZStack(alignment: .topLeading) { if !validDisplayName(displayName) { - Button { - AlertManager.shared.showAlertMsg( - title: "Display name", - message: "Display name can't contain spaces" - ) - } label: { - Image(systemName: "exclamationmark.circle") - .foregroundColor(.red) - .padding(.top, 4) - } + Image(systemName: "exclamationmark.circle") + .foregroundColor(.red) + .padding(.top, 4) } TextField("Display name", text: $displayName) .textInputAutocapitalization(.never) diff --git a/apps/ios/SimpleX.xcodeproj/project.pbxproj b/apps/ios/SimpleX.xcodeproj/project.pbxproj index 776ef725fc..687234cfcb 100644 --- a/apps/ios/SimpleX.xcodeproj/project.pbxproj +++ b/apps/ios/SimpleX.xcodeproj/project.pbxproj @@ -815,7 +815,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = "SimpleX (iOS).entitlements"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 19; + CURRENT_PROJECT_VERSION = 20; DEVELOPMENT_TEAM = 5NN7GUYB6T; ENABLE_BITCODE = NO; ENABLE_PREVIEWS = YES; @@ -856,7 +856,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = "SimpleX (iOS).entitlements"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 19; + CURRENT_PROJECT_VERSION = 20; DEVELOPMENT_TEAM = 5NN7GUYB6T; ENABLE_BITCODE = NO; ENABLE_PREVIEWS = YES;