zhaolei 2 weeks ago
parent
commit
d92540f08a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tabby-core/src/api/platform.ts

+ 1 - 1
tabby-core/src/api/platform.ts

@@ -42,7 +42,7 @@ export abstract class FileTransfer {
     }
     }
 
 
     isComplete (): boolean {
     isComplete (): boolean {
-        return this.completed
+        return this.completed || this.completedBytes >= this.getSize()
     }
     }
 
 
     isCancelled (): boolean {
     isCancelled (): boolean {