Skip to content

Commit 41d73b4

Browse files
committed
fix(loading): fix skip count only in postRequest
1 parent bd32fb3 commit 41d73b4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/providers/loading-ionic.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ export class LoadingIonicPlugin extends PluginBase implements PreRequestPlugin,
5656
}
5757

5858
dismiss() {
59-
if (this.skippedCount) {
60-
return;
61-
}
62-
6359
if (this.allow) {
6460
this.loading.dismissAll();
6561
}
@@ -73,7 +69,7 @@ export class LoadingIonicPlugin extends PluginBase implements PreRequestPlugin,
7369
}
7470

7571
postRequest() {
76-
if (this.loading !== null) {
72+
if (this.loading !== null && this.skippedCount === null) {
7773
this.dismiss();
7874
}
7975
}

0 commit comments

Comments
 (0)