From 522ab8d3d59e50ffe97b2d59aaad6740d9d31d33 Mon Sep 17 00:00:00 2001 From: Vasko Date: Mon, 30 Mar 2020 23:04:23 +0300 Subject: [PATCH] fix: do not clear androidView._cachedDrawable --- 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 7b545217ef..6b6d8b85a3 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?