diff options
Diffstat (limited to 'lib/data')
| -rw-r--r-- | lib/data/config.dart | 2 | ||||
| -rw-r--r-- | lib/data/favorites.dart | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/data/config.dart b/lib/data/config.dart index cef3eb4..80e84d5 100644 --- a/lib/data/config.dart +++ b/lib/data/config.dart @@ -22,7 +22,7 @@ Future<Config> getConfig() async { ); } -void initConfig() async { +void refreshConfig() async { Config c = await getConfig(); config_$.add(c); } 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); } |
