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) {
|
Widget _buildMailboxCategory(BuildContext context, MailboxCategories categories, MailboxNode mailboxNode) {
|
||||||
|
if (categories == MailboxCategories.exchange) {
|
||||||
|
return _buildBodyMailboxCategory(context, categories, mailboxNode);
|
||||||
|
}
|
||||||
return Column(children: [
|
return Column(children: [
|
||||||
_buildHeaderMailboxCategory(context, categories),
|
_buildHeaderMailboxCategory(context, categories),
|
||||||
AnimatedContainer(
|
AnimatedContainer(
|
||||||
|
|||||||
@@ -254,6 +254,9 @@ class MailboxView extends GetWidget<MailboxController> with AppLoaderMixin, Popu
|
|||||||
}
|
}
|
||||||
|
|
||||||
Widget _buildMailboxCategory(BuildContext context, MailboxCategories categories, MailboxNode mailboxNode) {
|
Widget _buildMailboxCategory(BuildContext context, MailboxCategories categories, MailboxNode mailboxNode) {
|
||||||
|
if (categories == MailboxCategories.exchange) {
|
||||||
|
return _buildBodyMailboxCategory(context, categories, mailboxNode);
|
||||||
|
}
|
||||||
return Column(children: [
|
return Column(children: [
|
||||||
_buildHeaderMailboxCategory(context, categories),
|
_buildHeaderMailboxCategory(context, categories),
|
||||||
AnimatedContainer(
|
AnimatedContainer(
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ extension MailboxCategoriessExtension on MailboxCategories {
|
|||||||
case MailboxCategories.exchange:
|
case MailboxCategories.exchange:
|
||||||
return AppLocalizations.of(context).exchange;
|
return AppLocalizations.of(context).exchange;
|
||||||
case MailboxCategories.folders:
|
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": "Initializing data...",
|
||||||
"@initializing_data": {
|
"@initializing_data": {
|
||||||
"type": "text",
|
"type": "text",
|
||||||
@@ -126,8 +126,8 @@
|
|||||||
"placeholders_order": [],
|
"placeholders_order": [],
|
||||||
"placeholders": {}
|
"placeholders": {}
|
||||||
},
|
},
|
||||||
"my_folders": "MY FOLDERS",
|
"myFolders": "My Folders",
|
||||||
"@my_folders": {
|
"@myFolders": {
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"placeholders_order": [],
|
"placeholders_order": [],
|
||||||
"placeholders": {}
|
"placeholders": {}
|
||||||
|
|||||||
@@ -124,10 +124,10 @@ class AppLocalizations {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
String get my_folders {
|
String get myFolders {
|
||||||
return Intl.message(
|
return Intl.message(
|
||||||
'MY FOLDERS',
|
'My Folders',
|
||||||
name: 'my_folders',
|
name: 'myFolders',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user