mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-19 07:42:14 +00:00
Fix multiple bugs on iOS
- receive multiple files - display videos correctly
This commit is contained in:
@@ -480,13 +480,12 @@ class FileDigester {
|
||||
this.progress = this._bytesReceived / this._size;
|
||||
if (this._bytesReceived < this._size) return;
|
||||
// we are done
|
||||
let received = new Blob(this._buffer, { type: this._mime });
|
||||
let url = URL.createObjectURL(received);
|
||||
let blob = new Blob(this._buffer, { type: this._mime });
|
||||
this._callback({
|
||||
name: this._name,
|
||||
mime: this._mime,
|
||||
size: this._size,
|
||||
url: url
|
||||
blob: blob
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user