diff options
| author | Akshay Nair <phenax5@gmail.com> | 2020-06-04 13:57:36 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2020-06-04 13:57:36 +0530 |
| commit | c50386437f01bb0177d352c7c7565d86742fa445 (patch) | |
| tree | b8dbd26174b536283509230ae66467d8cf0580f9 /lib/data/favorites.dart | |
| parent | d2a4564cfbd744232235e2c828657b616e19ba5a (diff) | |
| download | daft-launcher-c50386437f01bb0177d352c7c7565d86742fa445.tar.gz daft-launcher-c50386437f01bb0177d352c7c7565d86742fa445.zip | |
Some cleanup
Diffstat (limited to '')
| -rw-r--r-- | lib/data/favorites.dart | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/data/favorites.dart b/lib/data/favorites.dart index c09d14c..ba78d44 100644 --- a/lib/data/favorites.dart +++ b/lib/data/favorites.dart @@ -26,7 +26,7 @@ Future<List<Application>> getFavorites() async { return result.where((a) => a != null).map((a) => a as Application).toList() as List<Application>; } -void initFavorites() async { +void refreshFavorites() async { List<Application> fs = await getFavorites(); favorites_$.add(fs); } |
