Skip to content

Commit 6213674

Browse files
authored
progress increments by 10 instead of 1
1 parent e578f70 commit 6213674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/slim-loading-bar.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export class SlimLoadingBarService {
102102
// Run the timer with milliseconds iterval
103103
this._intervalCounterId = setInterval(() => {
104104
// Increment the progress and update view component
105-
this.progress++;
105+
this.progress=this.progress+10;
106106
// If the progress is 100% - call complete
107107
if (this.progress === 100) {
108108
this.complete();

0 commit comments

Comments
 (0)