From e42064da2c5182c6df7011cee76f98c70a3495ef Mon Sep 17 00:00:00 2001 From: Sneeex <65130981+mathiskir@users.noreply.github.com> Date: Tue, 24 Jun 2025 20:26:34 +0200 Subject: [PATCH] Update lib/data/methods/group.dart renamed var in deleteGroup to g instead of u Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- lib/data/methods/group.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/data/methods/group.dart b/lib/data/methods/group.dart index afc25c0..bb5a131 100644 --- a/lib/data/methods/group.dart +++ b/lib/data/methods/group.dart @@ -17,7 +17,7 @@ extension Group on AppDatabase { } Future deleteGroup(String id) async { - await (delete(group)..where((u) => u.id.equals(id))).go(); + await (delete(group)..where((g) => g.id.equals(id))).go(); } Future updateGroupname(String id, String newName) async {