8000 Use the getter instead of direct access · NativeScript/NativeScript@82bc403 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 82bc403

Browse files
committed
Use the getter instead of direct access
1 parent de86930 commit 82bc403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/image-asset/index.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class ImageAsset extends ImageAssetBase {
2626
}
2727

2828
public getImageAsync(callback: (image, error) => void) {
29-
if (!this._android && !this.nativeImage) {
29+
if (!this.android && !this.nativeImage) {
3030
callback(null, 'Asset cannot be found.');
3131
return;
3232
}

0 commit comments

Comments
 (0)
0