mirror of
https://github.com/RobinLinus/snapdrop.git
synced 2025-05-15 23:20:11 -07:00
fix bug: sender endlessly sends empty data
This commit is contained in:
parent
a9d01aa702
commit
d081bb9d01
@ -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