Page MenuHomePhabricator

[native] Add presentation: 'transparentModal' to termsAndPrivacyModalScreenOptions
ClosedPublic

Authored by ashoat on Jan 21 2023, 1:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 14 2024, 4:33 AM
Unknown Object (File)
Nov 9 2024, 2:31 AM
Unknown Object (File)
Nov 9 2024, 2:29 AM
Unknown Object (File)
Nov 9 2024, 2:25 AM
Unknown Object (File)
Nov 9 2024, 1:19 AM
Unknown Object (File)
Nov 8 2024, 2:56 AM
Unknown Object (File)
Nov 8 2024, 2:56 AM
Unknown Object (File)
Oct 2 2024, 7:30 PM
Subscribers

Details

Summary

I should've covered this in D5891. Without this, I think the screen behind the modal won't appear on Android.

Test Plan

I haven't had a chance to test this, but my theory is that without this, the Terms & Privacy modal appears on Android with the background completely black. @kamil, have you seen this on Android?

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil added inline comments.
native/navigation/root-navigator.react.js
162 ↗(On Diff #21161)

I haven't had a chance to test this, but my theory is that without this, the Terms & Privacy modal appears on Android with the background completely black. @kamil, have you seen this on Android?

I've seen it, but I thought it was supposed to look like this because I compared it to other app modals

I tested this for you
Before:

image.png (961×918 px, 515 KB)

After:

image.png (925×934 px, 505 KB)

This revision is now accepted and ready to land.Jan 23 2023, 7:03 AM

FYI I can't see those screenshots because of this issue, but I assume you're showing that the change was positive since you accepted the diff, so I'll go ahead and land