mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Privacy: IS Settings: Factorise model flows so that the change action use both add and disconnect actions
This commit is contained in:
@@ -184,6 +184,8 @@ final class SettingsIdentityServerViewController: UIViewController {
|
||||
}
|
||||
|
||||
private func renderNoIdentityServer() {
|
||||
self.activityPresenter.removeCurrentActivityIndicator(animated: true)
|
||||
|
||||
self.identityServerTextField.text = nil
|
||||
self.messageLabel.text = VectorL10n.identityServerSettingsNoIsDescription
|
||||
|
||||
@@ -195,6 +197,8 @@ final class SettingsIdentityServerViewController: UIViewController {
|
||||
}
|
||||
|
||||
private func renderIdentityServer(host: String) {
|
||||
self.activityPresenter.removeCurrentActivityIndicator(animated: true)
|
||||
|
||||
self.identityServerTextField.text = host
|
||||
self.messageLabel.text = VectorL10n.identityServerSettingsDescription(host.hostname())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user