mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Add support for linking new devices in the QRCodeLoginScreen. (#4891)
* Adds the remaining parts for showing/scanning a QR code to link a new device. * Refactor the QRCodeLoginService to work the same way as the LinkNewDeviceService.
This commit is contained in:
@@ -57,7 +57,7 @@ class LinkNewDeviceScreenViewModel: LinkNewDeviceScreenViewModelType, LinkNewDev
|
||||
|
||||
let linkNewDeviceService = clientProxy.linkNewDeviceService()
|
||||
|
||||
let progressPublisher = linkNewDeviceService.generateQRCode()
|
||||
let progressPublisher = linkNewDeviceService.linkMobileDevice()
|
||||
|
||||
do {
|
||||
_ = try await progressPublisher.values
|
||||
|
||||
Reference in New Issue
Block a user