From e51594dd210282ebfbc06f9fd6c8df2024add6b6 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 5 Jun 2020 21:59:22 +0530 Subject: Plugged the refresh action --- lib/pages/Home.dart | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/pages') diff --git a/lib/pages/Home.dart b/lib/pages/Home.dart index 1ce6d01..0e3ff5e 100644 --- a/lib/pages/Home.dart +++ b/lib/pages/Home.dart @@ -7,6 +7,8 @@ import '../components/Option.dart'; import '../components/AppList.dart'; import '../components/FixedContainer.dart'; import '../data/config.dart'; +import '../data/applications.dart'; +import '../data/favorites.dart'; class StatusInfoCard extends StatelessWidget { DateTime dateTime; @@ -45,7 +47,10 @@ class StatusInfoCard extends StatelessWidget { semanticLabel: 'Refresh', ), child: Text('Refresh'), - onTap: () {}, + onTap: () { + refreshApplications(); + refreshFavorites(); + }, ), ], ), -- cgit v1.3.1