mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Move threads enabling logic to the coordinator
This commit is contained in:
@@ -30,6 +30,8 @@ final class ThreadsBetaCoordinator: NSObject, ThreadsBetaCoordinatorProtocol {
|
||||
let result = ThreadsBetaViewController.instantiate()
|
||||
result.didTapEnableButton = { [weak self] in
|
||||
guard let self = self else { return }
|
||||
RiotSettings.shared.enableThreads = true
|
||||
MXSDKOptions.sharedInstance().enableThreads = true
|
||||
self.delegate?.threadsBetaCoordinatorDidTapEnable(self)
|
||||
}
|
||||
result.didTapCancelButton = { [weak self] in
|
||||
|
||||
Reference in New Issue
Block a user