mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
fix: Button not waiting for refresh
This commit is contained in:
parent
88b313a970
commit
fc8a0e153b
1 changed files with 1 additions and 1 deletions
|
|
@ -51,8 +51,8 @@ class _SelectableIconButtonState extends ConsumerState<SelectableIconButton> {
|
|||
} catch (e) {
|
||||
log(e.toString());
|
||||
} finally {
|
||||
setState(() => loading = false);
|
||||
if (context.mounted) await context.refreshData();
|
||||
setState(() => loading = false);
|
||||
}
|
||||
},
|
||||
child: Padding(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue