mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Show the Login with QR Code button. (#3392)
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ class AuthenticationStartScreenViewModel: AuthenticationStartScreenViewModelType
|
|||||||
|
|
||||||
init(webRegistrationEnabled: Bool) {
|
init(webRegistrationEnabled: Bool) {
|
||||||
super.init(initialViewState: AuthenticationStartScreenViewState(isWebRegistrationEnabled: webRegistrationEnabled,
|
super.init(initialViewState: AuthenticationStartScreenViewState(isWebRegistrationEnabled: webRegistrationEnabled,
|
||||||
isQRCodeLoginEnabled: !ProcessInfo.processInfo.isiOSAppOnMac && AppSettings.isDevelopmentBuild))
|
isQRCodeLoginEnabled: !ProcessInfo.processInfo.isiOSAppOnMac))
|
||||||
}
|
}
|
||||||
|
|
||||||
override func process(viewAction: AuthenticationStartScreenViewAction) {
|
override func process(viewAction: AuthenticationStartScreenViewAction) {
|
||||||
|
|||||||
Reference in New Issue
Block a user