Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Reset send / receive percent on completion
Browse files Browse the repository at this point in the history
  • Loading branch information
achhabra2 committed Jan 6, 2022
1 parent ebcebbc commit 94d8064
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/receiver.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
if (receiveStatus == "completed") {
setTimeout(() => {
isReceiving = false;
receivePercent = 0;
}, 500);
}
});
Expand Down
1 change: 1 addition & 0 deletions frontend/src/sender.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
setTimeout(() => {
isSending = false;
sendCode = "";
sendPercent = 0;
}, 500);
}
});
Expand Down

0 comments on commit 94d8064

Please sign in to comment.