Privacy: IS Settings: Factorise model flows so that the change action use both add and disconnect actions

This commit is contained in:
manuroe
2019-09-26 16:01:53 +02:00
parent a8e0fd74b4
commit f8929c3c44
3 changed files with 117 additions and 93 deletions

View File

@@ -32,6 +32,8 @@ enum SettingsIdentityServerDisplayMode {
case identityServer(host: String)
}
/// Alerts that can be presented when the user triggered an action among SettingsIdentityServerViewAction.
/// These alerts allow interaction with the user to complete the action flow.
enum SettingsIdentityServerAlert {
case addActionAlert(AddActionAlert)
case changeActionAlert(ChangeActionAlert)