runable
This commit is contained in:
@@ -28,7 +28,7 @@ class CategoriesPage extends ConsumerWidget {
|
||||
),
|
||||
body: RefreshIndicator(
|
||||
onRefresh: () async {
|
||||
await ref.refresh(categoriesProvider.future);
|
||||
ref.read(categoriesProvider.notifier).refresh();
|
||||
},
|
||||
child: categoriesAsync.when(
|
||||
loading: () => const Center(
|
||||
|
||||
Reference in New Issue
Block a user