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

Commit ce5e383

Browse files
authored
Merge pull request #19 from kefahB/master
Fixing Android crash #18
2 parents 35b048f + 75f3445 commit ce5e383

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/loading-indicator.android.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ export class LoadingIndicator {
4646
options.userInteractionEnabled =
4747
options.userInteractionEnabled !== undefined || true;
4848
if (!this._popOver) {
49-
this._createPopOver(context, options);
49+
setTimeout(() => {
50+
this._createPopOver(context, options);
51+
});
5052
} else {
5153
this._updatePopOver(context, options);
5254
}

0 commit comments

Comments
 (0)