From 508817fc26ce51e9f89339aed0d5645300d705e3 Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Fri, 12 Jun 2015 15:53:47 +0300 Subject: [PATCH] condition fixed --- ui/styling/stylers.android.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }