Only override path for Sender, not any other attributes. #329

Merged
erinn merged 3 commits from sender_size into trunk 2022-01-21 20:12:55 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit d27cc0e64e - Show all commits

View File

@ -252,6 +252,7 @@ class ProfileInfoState extends ChangeNotifier {
void downloadSetPath(String fileKey, String path) {
if (this._downloads.containsKey(fileKey)) {
this._downloads[fileKey]!.downloadedTo = path;
notifyListeners();
}
}
@ -265,6 +266,7 @@ class ProfileInfoState extends ChangeNotifier {
this._downloads[fileKey] = FileDownloadProgress(1, DateTime.now());
}
this._downloads[fileKey]!.downloadedTo = path;
notifyListeners();
}
String? downloadFinalPath(String fileKey) {