Skip to content

Commit

Permalink
fix: iOS layer
Browse files Browse the repository at this point in the history
  • Loading branch information
wn-na committed Jul 11, 2024
1 parent 35a0c69 commit 3446a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/CaptureProtection.mm
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ - (void)secureBackgroundView: (BOOL)show {
[window makeKeyAndVisible];

[window.layer.superlayer addSublayer:viewController.view.layer];
[self->secureTextField.layer.sublayers.firstObject addSublayer:viewController.view.window.layer];
[viewController.view.layer.sublayers.firstObject addSublayer:viewController.view.window.layer];
}

});
Expand Down

0 comments on commit 3446a6f

Please sign in to comment.