Consistent "OK" capitalization

This commit is contained in:
Shadowfacts 2022-12-02 18:06:15 -05:00
parent 4ca57f8c76
commit 8896bfbc59
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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