Privacy: IS Settings: Present IS terms if needed

This commit is contained in:
manuroe
2019-09-25 17:24:14 +02:00
parent a53bdf3192
commit 450178f7ee
3 changed files with 95 additions and 21 deletions
@@ -22,6 +22,7 @@ import Foundation
enum SettingsIdentityServerViewState {
case loading
case loaded(displayMode: SettingsIdentityServerDisplayMode)
case presentTerms(session: MXSession, accessToken: String, baseUrl: String, onComplete: (Bool) -> Void)
case alert(alert: SettingsIdentityServerAlert, onContinue: () -> Void)
case error(Error)
}