1
0
mirror of https://github.com/RobinLinus/snapdrop.git synced 2025-05-15 15:10:10 -07:00

fix bug: sender endlessly sends empty data

This commit is contained in:
Angela Zu 2021-08-14 22:42:16 +08:00 committed by GitHub
parent a9d01aa702
commit d081bb9d01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -465,7 +465,7 @@ class FileChunker {
}
isFileEnd() {
return this._offset > this._file.size;
return this._offset >= this._file.size;
}
get progress() {