We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5da476d commit 4bf2cb0Copy full SHA for 4bf2cb0
src/core/index.android.ts
@@ -237,8 +237,8 @@ export function overrideViewBase() {
237
[rippleColorProperty.setNative](color: Color) {
238
const rippleColor = getRippleColor(color, this.rippleColorAlpha);
239
const nativeViewProtected = this.nativeViewProtected;
240
- const RippleDrawable = android.graphics.drawable.RippleDrawable;
241
if (this instanceof Button && isPostMarshmallow) {
+ const RippleDrawable = android.graphics.drawable.RippleDrawable;
242
const foreground = (nativeViewProtected as android.widget.Button).getForeground();
243
if (foreground instanceof RippleDrawable) {
244
foreground.setColor(getColorStateList(rippleColor));
0 commit comments