Skip to content

Commit

Permalink
Choose appropriate login type from Env
Browse files Browse the repository at this point in the history
  • Loading branch information
vince-hz committed Sep 18, 2023
1 parent 8b150b4 commit 1f8c76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Flat/Modules/Login/LoginViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class LoginViewController: UIViewController {
}
}

let loginType: BehaviorRelay<LoginType> = .init(value: .sms)
let loginType: BehaviorRelay<LoginType> = .init(value: Env().preferPhoneAccount ? .sms : .password)

@IBOutlet var splitStackView: UIStackView!
@IBOutlet var contentStackView: UIStackView!
Expand Down

0 comments on commit 1f8c76d

Please sign in to comment.