Skip to content

Commit 9234a80

Browse files
committed
Change method name
1 parent 3afea5f commit 9234a80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/components/ng-http-loader.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class NgHttpLoaderComponent implements OnDestroy, OnInit {
5858
)
5959
.pipe(
6060
distinctUntilChanged(),
61-
tap(h => this.updateVisibilityDuration(h))
61+
tap(h => this.updateVisibilityExpiration(h))
6262
)
6363
.subscribe(h => this._isSpinnerVisible$.next(h));
6464
}
@@ -114,7 +114,7 @@ export class NgHttpLoaderComponent implements OnDestroy, OnInit {
114114
this.pendingInterceptorService.filteredHeaders = this.filteredHeaders;
115115
}
116116

117-
private updateVisibilityDuration(showSpinner: boolean): void {
117+
private updateVisibilityExpiration(showSpinner: boolean): void {
118118
if (showSpinner) {
119119
this.visibleUntil = Date.now() + this.minDuration;
120120
}

0 commit comments

Comments
 (0)