forked from shadowfacts/Tusker
Consistent "OK" capitalization
This commit is contained in:
parent
4ca57f8c76
commit
8896bfbc59
|
@ -114,7 +114,7 @@ struct MuteAccountView: View {
|
||||||
.disabled(isMuting)
|
.disabled(isMuting)
|
||||||
}
|
}
|
||||||
.alertWithData("Erorr Muting", data: $error, actions: { error in
|
.alertWithData("Erorr Muting", data: $error, actions: { error in
|
||||||
Button("Ok") {}
|
Button("OK") {}
|
||||||
}, message: { error in
|
}, message: { error in
|
||||||
Text(error.localizedDescription)
|
Text(error.localizedDescription)
|
||||||
})
|
})
|
||||||
|
|
|
@ -147,7 +147,7 @@ extension OnboardingViewController: InstanceSelectorTableViewControllerDelegate
|
||||||
// no-op, don't show an error message
|
// no-op, don't show an error message
|
||||||
} catch let error as Error {
|
} catch let error as Error {
|
||||||
let alert = UIAlertController(title: "Error Logging In", message: error.localizedDescription, preferredStyle: .alert)
|
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)
|
self.present(alert, animated: true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,7 +59,7 @@ extension TuskerNavigationDelegate {
|
||||||
message += " This can happen if you do not have an app installed for '\(scheme)://' URLs."
|
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)
|
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)
|
present(alert, animated: true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue