fix: privacy overlay on iOS
This commit is contained in:
@@ -262,10 +262,14 @@ export class WebApplication extends SNApplication implements WebApplicationInter
|
|||||||
}
|
}
|
||||||
|
|
||||||
handleInitialMobileScreenshotPrivacy(): void {
|
handleInitialMobileScreenshotPrivacy(): void {
|
||||||
|
if (this.platform !== Platform.Android) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if (this.protections.getMobileScreenshotPrivacyEnabled()) {
|
if (this.protections.getMobileScreenshotPrivacyEnabled()) {
|
||||||
this.mobileDevice().hideMobileInterfaceFromScreenshots()
|
this.mobileDevice().setAndroidScreenshotPrivacy(true)
|
||||||
} else {
|
} else {
|
||||||
this.mobileDevice().stopHidingMobileInterfaceFromScreenshots()
|
this.mobileDevice().setAndroidScreenshotPrivacy(false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user