TF-4195 Implement add a Label to an email on mobile
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -160,7 +160,7 @@ mixin EmailActionController {
|
||||
mailboxIdSelected: mailboxContain.mailboxId);
|
||||
|
||||
final destinationMailbox = PlatformInfo.isWeb
|
||||
? await DialogRouter.pushGeneralDialog(routeName: AppRoutes.destinationPicker, arguments: arguments)
|
||||
? await DialogRouter().pushGeneralDialog(routeName: AppRoutes.destinationPicker, arguments: arguments)
|
||||
: await push(AppRoutes.destinationPicker, arguments: arguments);
|
||||
|
||||
if (destinationMailbox != null &&
|
||||
|
||||
Reference in New Issue
Block a user