forked from cwtch.im/cwtch-ui
Upgrade libCwtch-go + Fix Model merge issue
This commit is contained in:
parent
efbf7f5bff
commit
9556150c05
|
@ -1 +1 @@
|
|||
v1.2.1-7-g1d18559-2021-09-30-17-39
|
||||
v1.3.0-2021-09-30-20-24
|
|
@ -382,11 +382,10 @@ class ProfileInfoState extends ChangeNotifier {
|
|||
|
||||
void downloadMarkFinished(String fileKey, String finalPath) {
|
||||
if (!downloadActive(fileKey)) {
|
||||
print("error: received download completion notice for unknown download " + fileKey);
|
||||
} else {
|
||||
this._downloads[fileKey]!.timeEnd = DateTime.now();
|
||||
this._downloads[fileKey]!.complete = true;
|
||||
notifyListeners();
|
||||
// happens as a result of a CheckDownloadStatus call,
|
||||
// invoked from a historical (timeline) download message
|
||||
// so setting numChunks correctly shouldn't matter
|
||||
this.downloadInit(fileKey, 1);
|
||||
}
|
||||
this._downloads[fileKey]!.timeEnd = DateTime.now();
|
||||
this._downloads[fileKey]!.downloadedTo = finalPath;
|
||||
|
|
Loading…
Reference in New Issue