Skip to content

Commit 522ab8d

Browse files
committed
fix: do not clear androidView._cachedDrawable
1 parent dc7215f commit 522ab8d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

nativescript-core/ui/styling/background.android.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ export module ad {
9191
}
9292

9393
nativeView.setBackground(defaultDrawable);
94-
// TODO: Do we need to clear the drawable here? Can't we just reuse it again?
95-
androidView._cachedDrawable = undefined;
9694
}
9795

9896
// TODO: Can we move BorderWidths as separate native setter?

0 commit comments

Comments
 (0)