TF-3759 Update style popup context menu for email more action on thread view
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -61,7 +61,6 @@ class ComposerView extends GetWidget<ComposerController> {
|
||||
context,
|
||||
position,
|
||||
_createMoreOptionPopupItems(context),
|
||||
radius: ComposerStyle.popupMenuRadius
|
||||
);
|
||||
},
|
||||
isNetworkConnectionAvailable: controller.isNetworkConnectionAvailable,
|
||||
@@ -87,7 +86,6 @@ class ComposerView extends GetWidget<ComposerController> {
|
||||
context,
|
||||
position,
|
||||
_createMoreOptionPopupItems(context),
|
||||
radius: ComposerStyle.popupMenuRadius
|
||||
);
|
||||
},
|
||||
isNetworkConnectionAvailable: controller.isNetworkConnectionAvailable,
|
||||
|
||||
@@ -150,6 +150,8 @@ extension EmailActionTypeExtension on EmailActionType {
|
||||
return imagePaths.icDownloadAttachment;
|
||||
case EmailActionType.editAsNewEmail:
|
||||
return imagePaths.icEdit;
|
||||
case EmailActionType.openInNewTab:
|
||||
return imagePaths.icOpenInNewTab;
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
@@ -173,6 +175,8 @@ extension EmailActionTypeExtension on EmailActionType {
|
||||
return appLocalizations.downloadMessageAsEML;
|
||||
case EmailActionType.editAsNewEmail:
|
||||
return appLocalizations.editAsNewEmail;
|
||||
case EmailActionType.openInNewTab:
|
||||
return appLocalizations.openInNewTab;
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
|
||||
@@ -7,7 +7,6 @@ import 'package:flutter/material.dart';
|
||||
class ComposerStyle {
|
||||
static const double radius = 28;
|
||||
static const double keyboardToolBarHeight = 200;
|
||||
static const double popupMenuRadius = 8;
|
||||
static const double suggestionItemHeight = 60;
|
||||
static const double normalWidth = 600;
|
||||
static const double normalHeight = 525;
|
||||
|
||||
Reference in New Issue
Block a user