Content-Length: 608 | pFad | http://github.com/NativeScript/NativeScript/pull/10516.diff

thub.com diff --git a/packages/core/ui/image/index.android.ts b/packages/core/ui/image/index.android.ts index 5a89a248e1..6de990c73b 100644 --- a/packages/core/ui/image/index.android.ts +++ b/packages/core/ui/image/index.android.ts @@ -161,10 +161,10 @@ export class Image extends ImageBase { return undefined; } [tintColorProperty.setNative](value: Color) { - if (value === undefined) { - this.nativeViewProtected.clearColorFilter(); - } else { + if (value) { this.nativeViewProtected.setColorFilter(value.android); + } else { + this.nativeViewProtected.clearColorFilter(); } }








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/NativeScript/NativeScript/pull/10516.diff

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy