File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
demos/supabase-todolist-drift/lib Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ final class AddItemDialog extends HookConsumerWidget {
1818 Future <void > add () async {
1919 await ref
2020 .read (itemsNotifierProvider (list).notifier)
21- .addItem (list, controller.text);
21+ .addItem (controller.text);
2222 if (context.mounted) {
2323 context.pop ();
2424 }
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ final class ItemsNotifier extends _$ItemsNotifier {
4646 await (db.delete (db.todoItems)..where ((t) => t.id.equals (item.id))).go ();
4747 }
4848
49- Future <void > addItem (String list, String description) async {
49+ Future <void > addItem (String description) async {
5050 final db = ref.read (driftDatabase);
5151 final userId = ref.read (userIdProvider);
5252
You can’t perform that action at this time.
0 commit comments