TF-3766 Change context menu style for other widgets on mobile
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -79,16 +79,16 @@ extension FilterMessageOptionExtension on FilterMessageOption {
|
||||
}
|
||||
}
|
||||
|
||||
String getName(BuildContext context) {
|
||||
String getName(AppLocalizations appLocalizations) {
|
||||
switch(this) {
|
||||
case FilterMessageOption.all:
|
||||
return '';
|
||||
case FilterMessageOption.unread:
|
||||
return AppLocalizations.of(context).unread;
|
||||
return appLocalizations.unread;
|
||||
case FilterMessageOption.attachments:
|
||||
return AppLocalizations.of(context).with_attachments;
|
||||
return appLocalizations.with_attachments;
|
||||
case FilterMessageOption.starred:
|
||||
return AppLocalizations.of(context).starred;
|
||||
return appLocalizations.starred;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user