From e4211294580e20ca83668bd7ee584a77a25fae28 Mon Sep 17 00:00:00 2001 From: Vasil Trifonov Date: Wed, 1 Apr 2020 17:42:24 +0300 Subject: [PATCH] fix: do not clear androidView._cachedDrawable (#8475) --- nativescript-core/ui/styling/background.android.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/nativescript-core/ui/styling/background.android.ts b/nativescript-core/ui/styling/background.android.ts index 7b545217e..6b6d8b85a 100644 --- a/nativescript-core/ui/styling/background.android.ts +++ b/nativescript-core/ui/styling/background.android.ts @@ -91,8 +91,6 @@ export module ad { } nativeView.setBackground(defaultDrawable); - // TODO: Do we need to clear the drawable here? Can't we just reuse it again? - androidView._cachedDrawable = undefined; } // TODO: Can we move BorderWidths as separate native setter?