Minor progress window changes

This commit is contained in:
Xpl0itU 2023-07-19 21:25:30 +02:00
parent 2084b1313d
commit 8060005529
6 changed files with 45 additions and 19 deletions

View file

@ -26,7 +26,7 @@ func DecryptContents(path string, progress *ProgressWindow, deleteEncryptedConte
wg.Add(1)
progressInt := 1
go runDecryption(path, &progressInt, deleteEncryptedContents)
progress.percentLabel.SetText("Decrypting...")
progress.bar.SetText("Decrypting...")
for !decryptionDone {
progress.bar.SetFraction(float64(progressInt) / 100)
time.Sleep(500 * time.Millisecond)