mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix "setTranslucentBackgroundDrawable()" deprecation version (#45856)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45856 No time traveling allowed. Changelog: [Android][Fixed] - Fix "setTranslucentBackgroundDrawable()" deprecation version Reviewed By: joevilches Differential Revision: D60569284 fbshipit-source-id: 364b0cde6f5117523289a2720128f44fd0e9e7db
This commit is contained in:
committed by
Facebook GitHub Bot
parent
60c38c37aa
commit
35d9a18b81
+1
-1
@@ -240,7 +240,7 @@ public class ReactViewGroup extends ViewGroup
|
||||
getOrCreateReactViewBackground().setGradients(gradient);
|
||||
}
|
||||
|
||||
@Deprecated(since = "0.66.0", forRemoval = true)
|
||||
@Deprecated(since = "0.76.0", forRemoval = true)
|
||||
public void setTranslucentBackgroundDrawable(@Nullable Drawable background) {
|
||||
if (ReactNativeFeatureFlags.enableBackgroundStyleApplicator()) {
|
||||
BackgroundStyleApplicator.setFeedbackUnderlay(this, background);
|
||||
|
||||
Reference in New Issue
Block a user