Skip to content

Commit

Permalink
Add reload button
Browse files Browse the repository at this point in the history
  • Loading branch information
enm10k committed Jun 28, 2024
1 parent a9f3bbf commit f20cb88
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/features/core/pages/sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ class SheetPage extends HookConsumerWidget {
builder: (_) => const SheetSearchDialog(),
),
),
BottomAppBarButton(
iconData: Icons.refresh,
onPressed: () {
ref.invalidate(dataRowsProvider);
},
),
],
),
),
Expand Down Expand Up @@ -95,9 +101,7 @@ class SheetPage extends HookConsumerWidget {
Navigator.pop(context);
},
),
actions: const [
// ReloadButton(),
],
actions: const [],
title: Text(project.title),
),
body: Column(
Expand Down

0 comments on commit f20cb88

Please sign in to comment.