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)
Fri, Nov 1, 1:57 PM
Unknown Object (File)
Fri, Oct 18, 11:08 AM
Unknown Object (File)
Fri, Oct 18, 12:36 AM
Unknown Object (File)
Thu, Oct 17, 6:54 PM
Unknown Object (File)
Sat, Oct 12, 1:11 PM
Unknown Object (File)
Oct 4 2024, 12:59 AM
Unknown Object (File)
Oct 4 2024, 12:59 AM
Unknown Object (File)
Oct 4 2024, 12:59 AM
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