Add a couple more error messages during authentication. (#2497)

* Add copy for error when signing in with refresh tokens enabled.

* Show an error when a server's well-known file is invalid.

* Changelog.

* Fix wrong alert.
This commit is contained in:
Doug
2024-02-27 08:48:21 +00:00
committed by GitHub
parent 2cf427f715
commit 1afde10ce2
12 changed files with 36 additions and 3 deletions
@@ -87,6 +87,8 @@ enum ServerSelectionScreenViewAction {
enum ServerSelectionScreenErrorType: Hashable {
/// An error message to be shown in the text field footer.
case footerMessage(String)
/// An alert that informs the user about a bad well-known file.
case invalidWellKnownAlert(String)
/// An alert that allows the user to learn about sliding sync.
case slidingSyncAlert
}