Skip to content

Commit

Permalink
fix(ios): black screen (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
VForslund authored Aug 16, 2024
1 parent 11f8b83 commit dbea371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Plugin/PrivacyScreen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ import UIKit
while let topVC = rootVC.presentedViewController {
rootVC = topVC
}
if rootVC.presentedViewController != self.privacyViewController {
if rootVC.presentedViewController != self.privacyViewController && !self.privacyViewController.isBeingPresented && !self.privacyViewController.isBeingDismissed {
rootVC.present(self.privacyViewController, animated: false, completion: nil)
}
} else {
Expand Down

0 comments on commit dbea371

Please sign in to comment.