diff --git a/ui/styling/stylers.android.ts b/ui/styling/stylers.android.ts index 763b65732..9c070248e 100644 --- a/ui/styling/stylers.android.ts +++ b/ui/styling/stylers.android.ts @@ -102,7 +102,7 @@ function onBorderPropertyChanged(v: view.View) { var value = v.style._getValue(styleModule.backgroundImageSourceProperty); - if ((v.borderWidth === 0 && v.borderRadius === 0) || types.isNullOrUndefined(v.backgroundColor) || types.isNullOrUndefined(value)) { + if (v.borderWidth === 0 || v.borderRadius === 0 || types.isNullOrUndefined(v.backgroundColor) || types.isNullOrUndefined(value)) { return; }