More notify listeners
continuous-integration/drone/pr Build is pending
Details
continuous-integration/drone/pr Build is pending
Details
This commit is contained in:
parent
e359afbdab
commit
d27cc0e64e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue