diff --git a/lib/features/labels/presentation/label_controller.dart b/lib/features/labels/presentation/label_controller.dart index c1f071f9b..30c88be67 100644 --- a/lib/features/labels/presentation/label_controller.dart +++ b/lib/features/labels/presentation/label_controller.dart @@ -249,6 +249,7 @@ class LabelController extends BaseController } void _addLabelToList(Label newLabel) { + labels.removeWhere((label) => label.id == newLabel.id); labels.add(newLabel); labels.sortByAlphabetically(); }