mirror of
https://github.com/RobinLinus/snapdrop.git
synced 2025-05-19 00:50:14 -07:00
Merge pull request #342 from angela0/angela0-patch-1
fix bug: sender endlessly sends empty data
This commit is contained in:
commit
78a8b167de
@ -465,7 +465,7 @@ class FileChunker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
isFileEnd() {
|
isFileEnd() {
|
||||||
return this._offset > this._file.size;
|
return this._offset >= this._file.size;
|
||||||
}
|
}
|
||||||
|
|
||||||
get progress() {
|
get progress() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user