fix: do not clear androidView._cachedDrawable (#8475)

This commit is contained in:
Vasil Trifonov
2020-04-01 17:42:24 +03:00
committed by GitHub
parent 2b06adca27
commit e421129458

View File

@ -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?