Page MenuHomePhabricator

[native] Avoid importing Alert directly from react-native
ClosedPublic

Authored by ashoat on May 20 2024, 6:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 20, 4:57 PM
Unknown Object (File)
Thu, Jun 20, 4:57 PM
Unknown Object (File)
Thu, Jun 20, 4:57 PM
Unknown Object (File)
Thu, Jun 20, 4:55 PM
Unknown Object (File)
Fri, Jun 14, 6:36 PM
Unknown Object (File)
Tue, Jun 11, 4:48 PM
Unknown Object (File)
Mon, Jun 10, 12:28 AM
Unknown Object (File)
Sun, Jun 9, 11:58 PM
Subscribers

Details

Summary

Our custom Alert in native/utils/alert.js just wraps the default one with a userInterfaceStyle call based on the current user theme.

Depends on D12123

Test Plan

I made sure the app runs with these. I had to remove the usage of our custom Alert from redux-setup.js because it led to this error:

2024-05-20 15.31.00.png (2×1 px, 287 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable