TF-2520 Add print icon in email view
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -100,6 +100,18 @@ class EmailViewAppBarWidget extends StatelessWidget {
|
||||
)
|
||||
),
|
||||
const SizedBox(width: EmailViewAppBarWidgetStyles.space),
|
||||
TMailButtonWidget.fromIcon(
|
||||
icon: _imagePaths.icPrinter,
|
||||
iconSize: EmailViewAppBarWidgetStyles.deleteButtonIconSize,
|
||||
backgroundColor: Colors.transparent,
|
||||
padding: EmailViewAppBarWidgetStyles.buttonPadding,
|
||||
tooltipMessage: AppLocalizations.of(context).printAll,
|
||||
onTapActionCallback: () => onEmailActionClick?.call(
|
||||
presentationEmail,
|
||||
EmailActionType.printAll
|
||||
)
|
||||
),
|
||||
const SizedBox(width: EmailViewAppBarWidgetStyles.space),
|
||||
TMailButtonWidget.fromIcon(
|
||||
icon: _imagePaths.icDeleteComposer,
|
||||
iconSize: EmailViewAppBarWidgetStyles.deleteButtonIconSize,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"@@last_modified": "2024-02-29T15:17:25.888801",
|
||||
"@@last_modified": "2024-02-28T08:48:33.734928",
|
||||
"initializing_data": "Initializing data...",
|
||||
"@initializing_data": {
|
||||
"type": "text",
|
||||
@@ -3653,5 +3653,11 @@
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"printAll": "Print all",
|
||||
"@printAll": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
@@ -3806,4 +3806,10 @@ class AppLocalizations {
|
||||
'External domain',
|
||||
name: 'externalDomain');
|
||||
}
|
||||
|
||||
String get printAll {
|
||||
return Intl.message(
|
||||
'Print all',
|
||||
name: 'printAll');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user