From d3f0c80e94657285da23b0bd42b85b16c20a8c40 Mon Sep 17 00:00:00 2001 From: 21pages Date: Sat, 30 Nov 2024 09:24:05 +0800 Subject: [PATCH] "Untagged" tag uses the theme accent color (#10111) Signed-off-by: 21pages --- flutter/lib/models/ab_model.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flutter/lib/models/ab_model.dart b/flutter/lib/models/ab_model.dart index 613ec1ed3..3aa722a5a 100644 --- a/flutter/lib/models/ab_model.dart +++ b/flutter/lib/models/ab_model.dart @@ -648,6 +648,9 @@ class AbModel { } Color getCurrentAbTagColor(String tag) { + if (tag == kUntagged) { + return MyTheme.accent; + } int? colorValue = current.tagColors[tag]; if (colorValue != null) { return Color(colorValue);