mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
loading polish
This commit is contained in:
committed by
Aiden McClelland
parent
834de9ab54
commit
412c10a859
@@ -27,6 +27,8 @@ export class StateService {
|
||||
}
|
||||
|
||||
async pollDataTransferProgress() {
|
||||
await pauseFor(7000)
|
||||
|
||||
if (
|
||||
this.dataTransferProgress?.totalBytes &&
|
||||
this.dataTransferProgress.bytesTransfered === this.dataTransferProgress.totalBytes
|
||||
@@ -40,7 +42,6 @@ export class StateService {
|
||||
if (this.dataTransferProgress.totalBytes) {
|
||||
this.dataProgress = this.dataTransferProgress.bytesTransfered / this.dataTransferProgress.totalBytes
|
||||
}
|
||||
await pauseFor(7000)
|
||||
this.pollDataTransferProgress()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user