Skip to content

Commit

Permalink
Fix black screen bug if redeem voucher view if canceled to early
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Petersson authored and buggmagnet committed Sep 25, 2023
1 parent 4dc2a35 commit 622020b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class RedeemVoucherViewController: UIViewController, UINavigationControllerDeleg
) {
self.contentView = RedeemVoucherContentView(configuration: configuration)
self.interactor = interactor
self.contentView.isUserInteractionEnabled = false

super.init(nibName: nil, bundle: nil)
}

Expand Down Expand Up @@ -67,6 +69,8 @@ class RedeemVoucherViewController: UIViewController, UINavigationControllerDeleg

override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)

contentView.isUserInteractionEnabled = true
contentView.isEditing = true
}

Expand Down

0 comments on commit 622020b

Please sign in to comment.