Skip to content

Commit

Permalink
Fix issue where changing advanced settings while adding account would…
Browse files Browse the repository at this point in the history
… fail. (#126)
  • Loading branch information
jensutbult authored Sep 22, 2023
1 parent 6f4782d commit 45199ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class AddCredentialController: UITableViewController {
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
// Always start QR scanner if no credential template was provided
if self.credential == nil {
if self.credential == nil && self.mode != .manual {
let scanAccountView = ScanAccountView(frame: self.view.frame) { [weak self] result in
guard let self = self else { return }
self.navigationController?.navigationBar.layer.zPosition = 0
Expand Down

0 comments on commit 45199ae

Please sign in to comment.