Skip to content

Commit

Permalink
Fix modal style
Browse files Browse the repository at this point in the history
Fix modal style
  • Loading branch information
EugeneIOs authored Sep 14, 2022
2 parents 356cc9f + f29b387 commit 33a6c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/VGSCardScanCollector/VGSCardScanHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ internal class VGSCardScanHandler: NSObject, VGSScanHandlerProtocol {
}
}

func presentScanVC(on viewController: UIViewController, animated: Bool, modalPresentationStyle: UIModalPresentationStyle = .automatic, completion: (() -> Void)?) {
func presentScanVC(on viewController: UIViewController, animated: Bool, modalPresentationStyle: UIModalPresentationStyle = .overCurrentContext, completion: (() -> Void)?) {

if #available(iOS 11.2, *) {
guard let vc = ScanViewController.createViewController(withDelegate: self) else {
Expand Down

0 comments on commit 33a6c0d

Please sign in to comment.