More notify listeners
continuous-integration/drone/pr Build is pending Details

This commit is contained in:
Sarah Jamie Lewis 2022-01-21 12:09:58 -08:00
parent e359afbdab
commit d27cc0e64e
1 changed files with 2 additions and 0 deletions

View File

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