mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(android): background-image 'none' (#9547)
closes https://github.com/NativeScript/NativeScript/issues/9546
This commit is contained in:
@@ -175,7 +175,7 @@ function refreshBorderDrawable(this: void, view: View, borderDrawable: org.nativ
|
||||
const blackColor = -16777216; //android.graphics.Color.BLACK;
|
||||
|
||||
let imageUri: string;
|
||||
if (background.image && typeof background.image === 'string') {
|
||||
if (background.image && typeof background.image === 'string' && background.image !== 'none') {
|
||||
imageUri = background.image;
|
||||
const match = imageUri.match(pattern);
|
||||
if (match && match[2]) {
|
||||
|
||||
Reference in New Issue
Block a user