zhaolei 2 هفته پیش
والد
کامیت
d92540f08a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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 {
-        return this.completed
+        return this.completed || this.completedBytes >= this.getSize()
     }
 
     isCancelled (): boolean {