diff --git a/Tusker/Screens/Mute/MuteAccountView.swift b/Tusker/Screens/Mute/MuteAccountView.swift index 0c5c06905a..d32ac4365c 100644 --- a/Tusker/Screens/Mute/MuteAccountView.swift +++ b/Tusker/Screens/Mute/MuteAccountView.swift @@ -114,7 +114,7 @@ struct MuteAccountView: View { .disabled(isMuting) } .alertWithData("Erorr Muting", data: $error, actions: { error in - Button("Ok") {} + Button("OK") {} }, message: { error in Text(error.localizedDescription) }) diff --git a/Tusker/Screens/Onboarding/OnboardingViewController.swift b/Tusker/Screens/Onboarding/OnboardingViewController.swift index 35992297b1..19c27c8b6e 100644 --- a/Tusker/Screens/Onboarding/OnboardingViewController.swift +++ b/Tusker/Screens/Onboarding/OnboardingViewController.swift @@ -147,7 +147,7 @@ extension OnboardingViewController: InstanceSelectorTableViewControllerDelegate // no-op, don't show an error message } catch let error as Error { let alert = UIAlertController(title: "Error Logging In", message: error.localizedDescription, preferredStyle: .alert) - alert.addAction(UIAlertAction(title: "Ok", style: .default)) + alert.addAction(UIAlertAction(title: "OK", style: .default)) self.present(alert, animated: true) } } diff --git a/Tusker/TuskerNavigationDelegate.swift b/Tusker/TuskerNavigationDelegate.swift index 2fbe7dfe07..5d4e2bd9ab 100644 --- a/Tusker/TuskerNavigationDelegate.swift +++ b/Tusker/TuskerNavigationDelegate.swift @@ -59,7 +59,7 @@ extension TuskerNavigationDelegate { message += " This can happen if you do not have an app installed for '\(scheme)://' URLs." } let alert = UIAlertController(title: "Invalid URL", message: message, preferredStyle: .alert) - alert.addAction(UIAlertAction(title: "Ok", style: .default, handler: nil)) + alert.addAction(UIAlertAction(title: "OK", style: .default, handler: nil)) present(alert, animated: true) } }