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

Commit dd8f2fe

Browse files
committed
fix(android-loading-indicator): Update function signature to be compatible with iOS
As the hide method on iOS has an optional parameter, prevent existing use of hide on iOS from breaking.
1 parent 6c76995 commit dd8f2fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loading-indicator.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class LoadingIndicator {
7272
}
7373
}
7474

75-
hide(attemptTimeout: number = 1000): void {
75+
hide(targetView?: any, attemptTimeout: number = 1000): void {
7676
if (this._isCreatingPopOver) {
7777
this._waitForCreatePopOver(attemptTimeout);
7878
return;

0 commit comments

Comments
 (0)