From d27cc0e64e754bf61a7293b3430b334b15d8d906 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Fri, 21 Jan 2022 12:09:58 -0800 Subject: [PATCH] More notify listeners --- lib/models/profile.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/models/profile.dart b/lib/models/profile.dart index e79eb573..d79617ef 100644 --- a/lib/models/profile.dart +++ b/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) {