Skip to content

Commit 653775f

Browse files
committed
fix(button): faster android button
1 parent 3d2c3c4 commit 653775f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/button/button.android.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ export class Button extends ButtonBase {
140140
[textTransformProperty.setNative](value: TextTransform) {
141141
this.nativeViewProtected.setAllCaps(value !== 'none');
142142
}
143+
[backgroundInternalProperty.getDefault]() {
144+
return null;
145+
}
143146
[backgroundInternalProperty.setNative](value: android.graphics.drawable.Drawable | Background) {
144147
const view = this.nativeTextViewProtected;
145148
if (view) {

0 commit comments

Comments
 (0)