TF-968 Slightly re-arrange mailbox menu
This commit is contained in:
@@ -270,6 +270,9 @@ class MailboxView extends GetWidget<MailboxController> {
|
||||
}
|
||||
|
||||
Widget _buildMailboxCategory(BuildContext context, MailboxCategories categories, MailboxNode mailboxNode) {
|
||||
if (categories == MailboxCategories.exchange) {
|
||||
return _buildBodyMailboxCategory(context, categories, mailboxNode);
|
||||
}
|
||||
return Column(children: [
|
||||
_buildHeaderMailboxCategory(context, categories),
|
||||
AnimatedContainer(
|
||||
|
||||
@@ -254,6 +254,9 @@ class MailboxView extends GetWidget<MailboxController> with AppLoaderMixin, Popu
|
||||
}
|
||||
|
||||
Widget _buildMailboxCategory(BuildContext context, MailboxCategories categories, MailboxNode mailboxNode) {
|
||||
if (categories == MailboxCategories.exchange) {
|
||||
return _buildBodyMailboxCategory(context, categories, mailboxNode);
|
||||
}
|
||||
return Column(children: [
|
||||
_buildHeaderMailboxCategory(context, categories),
|
||||
AnimatedContainer(
|
||||
|
||||
@@ -25,7 +25,7 @@ extension MailboxCategoriessExtension on MailboxCategories {
|
||||
case MailboxCategories.exchange:
|
||||
return AppLocalizations.of(context).exchange;
|
||||
case MailboxCategories.folders:
|
||||
return AppLocalizations.of(context).folders;
|
||||
return AppLocalizations.of(context).myFolders;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"@@last_modified": "2022-10-10T23:39:00.642884",
|
||||
"@@last_modified": "2022-10-11T09:16:53.834708",
|
||||
"initializing_data": "Initializing data...",
|
||||
"@initializing_data": {
|
||||
"type": "text",
|
||||
@@ -126,8 +126,8 @@
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"my_folders": "MY FOLDERS",
|
||||
"@my_folders": {
|
||||
"myFolders": "My Folders",
|
||||
"@myFolders": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
|
||||
@@ -124,10 +124,10 @@ class AppLocalizations {
|
||||
);
|
||||
}
|
||||
|
||||
String get my_folders {
|
||||
String get myFolders {
|
||||
return Intl.message(
|
||||
'MY FOLDERS',
|
||||
name: 'my_folders',
|
||||
'My Folders',
|
||||
name: 'myFolders',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user