QR Code scan view (#2674)

This commit is contained in:
Mauro
2024-04-10 12:47:23 +02:00
committed by GitHub
parent 0fc0ad101e
commit bcd7e2254c
26 changed files with 364 additions and 20 deletions
@@ -30,9 +30,11 @@ class AuthenticationStartScreenViewModel: AuthenticationStartScreenViewModelType
init(appSettings: AppSettings) {
self.appSettings = appSettings
super.init(initialViewState: AuthenticationStartScreenViewState())
appSettings.$qrCodeLoginEnabled
.weakAssign(to: \.state.isQRCodeLoginEnabled, on: self)
.store(in: &cancellables)
if !ProcessInfo.processInfo.isiOSAppOnMac {
appSettings.$qrCodeLoginEnabled
.weakAssign(to: \.state.isQRCodeLoginEnabled, on: self)
.store(in: &cancellables)
}
}
override func process(viewAction: AuthenticationStartScreenViewAction) {