"Untagged" tag uses the theme accent color (#10111)

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages 2024-11-30 09:24:05 +08:00 committed by GitHub
parent b32ff87c6e
commit d3f0c80e94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);