Browse Source

More notify listeners

pull/329/head
Sarah Jamie Lewis 4 months ago
parent
commit
d27cc0e64e
  1. 2
      lib/models/profile.dart

2
lib/models/profile.dart

@ -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…
Cancel
Save