Small improvements

This commit is contained in:
PartyDonut 2025-07-27 11:47:31 +02:00
parent 86ff355e21
commit b17a74bb23
10 changed files with 81 additions and 20 deletions

View file

@ -35,6 +35,8 @@ extension RefreshContextExtension on BuildContext {
Future<void> refreshData() async {
//Small delay to fix server not updating response based on successful query
await Future.delayed(const Duration(milliseconds: 250));
await RefreshState.maybeOf(this)?.refresh();
if (mounted) {
await RefreshState.maybeOf(this)?.refresh();
}
}
}