From c50386437f01bb0177d352c7c7565d86742fa445 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Thu, 4 Jun 2020 13:57:36 +0530 Subject: Some cleanup --- lib/data/config.dart | 2 +- lib/data/favorites.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/data') 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 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> getFavorites() async { return result.where((a) => a != null).map((a) => a as Application).toList() as List; } -void initFavorites() async { +void refreshFavorites() async { List fs = await getFavorites(); favorites_$.add(fs); } -- cgit v1.3.1