feat: Add daily status refresh on supplements list screen pull-to-refresh

This commit is contained in:
2025-08-27 10:20:20 +02:00
parent 7f42a1ff20
commit 494b941277
2 changed files with 102 additions and 3 deletions

View File

@@ -69,6 +69,7 @@ class SupplementsListScreen extends StatelessWidget {
return RefreshIndicator(
onRefresh: () async {
await provider.loadSupplements();
await provider.refreshDailyStatus();
},
child: _buildGroupedSupplementsList(context, provider.supplements, settingsProvider),
);