mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Fix bug where RequestContactsAccessFooterView could still be visible beneath the contacts.
This commit is contained in:
@@ -99,6 +99,12 @@ final class ServiceTermsModalScreenViewModel: ServiceTermsModalScreenViewModelTy
|
||||
return
|
||||
}
|
||||
self.update(viewState: .accepted)
|
||||
|
||||
// Send a notification to update the identity service immediately.
|
||||
let userInfo = [MXIdentityServiceNotificationIdentityServerKey: self.serviceTerms.baseUrl]
|
||||
NotificationCenter.default.post(name: .MXIdentityServiceTermsAccepted, object: nil, userInfo: userInfo)
|
||||
|
||||
// Notify the delegate.
|
||||
self.coordinatorDelegate?.serviceTermsModalScreenViewModelDidAccept(self)
|
||||
|
||||
}, failure: { [weak self] (error) in
|
||||
|
||||
Reference in New Issue
Block a user