mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-09 15:38:13 -07:00
Small improvements
This commit is contained in:
parent
86ff355e21
commit
b17a74bb23
10 changed files with 81 additions and 20 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue