mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-06 05:37:51 +08:00
"Untagged" tag uses the theme accent color (#10111)
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
parent
b32ff87c6e
commit
d3f0c80e94
@ -648,6 +648,9 @@ class AbModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Color getCurrentAbTagColor(String tag) {
|
Color getCurrentAbTagColor(String tag) {
|
||||||
|
if (tag == kUntagged) {
|
||||||
|
return MyTheme.accent;
|
||||||
|
}
|
||||||
int? colorValue = current.tagColors[tag];
|
int? colorValue = current.tagColors[tag];
|
||||||
if (colorValue != null) {
|
if (colorValue != null) {
|
||||||
return Color(colorValue);
|
return Color(colorValue);
|
||||||
|
Loading…
Reference in New Issue
Block a user