TF-4195 Implement add a Label to an email on mobile

This commit is contained in:
dab246
2025-12-12 10:34:27 +07:00
committed by Dat H. Pham
parent 78de7de3a6
commit 0076a7af57
29 changed files with 319 additions and 139 deletions
@@ -16,4 +16,8 @@ extension MapKeywordsExtension on Map<KeyWordIdentifier, bool>? {
Map<KeyWordIdentifier, bool> withoutKeyword(KeyWordIdentifier keyword) {
return Map<KeyWordIdentifier, bool>.from(this ?? {})..remove(keyword);
}
void addKeyword(KeyWordIdentifier keyword) {
this?[keyword] = true;
}
}