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) {
|
void downloadMarkFinished(String fileKey, String finalPath) {
|
||||||
if (!downloadActive(fileKey)) {
|
if (!downloadActive(fileKey)) {
|
||||||
print("error: received download completion notice for unknown download " + fileKey);
|
// happens as a result of a CheckDownloadStatus call,
|
||||||
} else {
|
// invoked from a historical (timeline) download message
|
||||||
this._downloads[fileKey]!.timeEnd = DateTime.now();
|
// so setting numChunks correctly shouldn't matter
|
||||||
this._downloads[fileKey]!.complete = true;
|
this.downloadInit(fileKey, 1);
|
||||||
notifyListeners();
|
|
||||||
}
|
}
|
||||||
this._downloads[fileKey]!.timeEnd = DateTime.now();
|
this._downloads[fileKey]!.timeEnd = DateTime.now();
|
||||||
this._downloads[fileKey]!.downloadedTo = finalPath;
|
this._downloads[fileKey]!.downloadedTo = finalPath;
|
||||||
|
|
Loading…
Reference in New Issue