Skip to content
This repository was archived by the owner on Dec 19, 2021. It is now read-only.

Commit 35b048f

Browse files
committed
chore(build): 2.0.0 - 6.2 compat
1 parent 94b6b32 commit 35b048f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/loading-indicator.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ export class LoadingIndicator {
318318
Frame.topmost().android.rootViewGroup || Frame.topmost().currentPage.android;
319319

320320
// handle anchoring target view
321-
if (options.android.view) {
321+
if (options.android && options.android.view) {
322322
const nativeView = options.android.view as android.view.View;
323323
this._popOver.setWidth(nativeView.getWidth());
324324
this._popOver.setHeight(nativeView.getHeight());

src/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nstudio/nativescript-loading-indicator",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"description": "A NativeScript plugin for showing an overlayed loading indicator.",
55
"main": "loading-indicator",
66
"typings": "index.d.ts",
@@ -78,8 +78,8 @@
7878
"husky": "^3.0.0",
7979
"lint-staged": "^9.1.0",
8080
"prettier": "^1.18.2",
81-
"tns-core-modules": "^5.0.0",
82-
"tns-platform-declarations": "6.0.0-rc-2019-06-28-175837-02",
81+
"tns-core-modules": "^6.2.0",
82+
"tns-platform-declarations": "^6.2.0",
8383
"typescript": "~3.3.3",
8484
"prompt": "^1.0.0",
8585
"rimraf": "^2.6.3",
Binary file not shown.

0 commit comments

Comments
 (0)