Feature/3616 privacy on login

This commit is contained in:
Frank Rotermund
2022-12-04 10:47:42 +00:00
parent 3ea3cfd4cf
commit b23657a4a1
16 changed files with 261 additions and 63 deletions
@@ -65,7 +65,8 @@ class AuthenticationServerSelectionViewModel: AuthenticationServerSelectionViewM
@MainActor func displayInfo(_ message: String, buttonTitle: String, completion: (()->Void)? ) {
state.bindings.alertInfo = AlertInfo(id: .openInvalidServerInfo,
title: message,
primaryButton: (buttonTitle, completion))
primaryButton: (buttonTitle, completion),
secondaryButton: (VectorL10n.cancel, nil))
}
// MARK: - Private