Repository navigation
Conversation
The modal's alert controller takes buttonColor as its tint. The theme-derived default stays Android-only, so iOS apps without buttonColor keep the system blue. On iOS 26 a light buttonColor gives the filled confirm action a black label.
Author
|
A note on the iOS 26 part, since it uses a private key: On iOS 26 the preferred action (Confirm) is filled with the tint under a white label. With a light The key is only set on iOS 26, only for a light |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
buttonColoronly applied to the Android modal. On iOS the sheet's buttons were always the system blue, which clashes with apps that use their own tint.buttonColoris set, the modal's alert controller uses it as its tint (Confirm and Cancel).themenow applies only on Android. iOS getsbuttonColoronly when the app passes one, so existing iOS users see no change.buttonColorthe label turns black (UIAlertAction'stitleTextColorkey, guarded by@try).Tested on iOS 26 and iOS 18 (light and dark, with and without
buttonColor) and on Android 16, React Native 0.84, new architecture.