TF-801 Show notification message when vacation enabled
This commit is contained in:
@@ -34,27 +34,17 @@ class ManageAccountMenuController extends BaseController {
|
||||
super.onInit();
|
||||
}
|
||||
|
||||
_createListAccountMenu(){
|
||||
void _createListAccountMenu(){
|
||||
listAccountMenuItem.clear();
|
||||
listAccountMenuItem.add(
|
||||
AccountMenuItem.profiles,
|
||||
);
|
||||
listAccountMenuItem.add(AccountMenuItem.profiles);
|
||||
if (dashBoardController.checkAvailableRuleFilterInSession()) {
|
||||
listAccountMenuItem.add(
|
||||
AccountMenuItem.emailRules,
|
||||
);
|
||||
listAccountMenuItem.add(AccountMenuItem.emailRules);
|
||||
}
|
||||
if (dashBoardController.checkAvailableForwardInSession()) {
|
||||
listAccountMenuItem.add(
|
||||
AccountMenuItem.forward,
|
||||
);
|
||||
listAccountMenuItem.add(AccountMenuItem.forward);
|
||||
}
|
||||
listAccountMenuItem.add(
|
||||
AccountMenuItem.languageAndRegion,
|
||||
);
|
||||
listAccountMenuItem.add(
|
||||
AccountMenuItem.vacation,
|
||||
);
|
||||
listAccountMenuItem.add(AccountMenuItem.languageAndRegion);
|
||||
listAccountMenuItem.add(AccountMenuItem.vacation);
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
@@ -23,7 +23,7 @@ class ManageAccountMenuView extends GetWidget<ManageAccountMenuController> {
|
||||
body: SafeArea(right: false, bottom: false,
|
||||
child: Column(
|
||||
children: [
|
||||
if (!_responsiveUtils.isDesktop(context))
|
||||
if (!_responsiveUtils.isWebDesktop(context))
|
||||
Container(
|
||||
color: Colors.white,
|
||||
padding: const EdgeInsets.only(top: 16, bottom: 16, left: 16),
|
||||
@@ -51,10 +51,10 @@ class ManageAccountMenuView extends GetWidget<ManageAccountMenuController> {
|
||||
}),
|
||||
])
|
||||
),
|
||||
if (!_responsiveUtils.isDesktop(context))
|
||||
if (!_responsiveUtils.isWebDesktop(context))
|
||||
const Divider(color: AppColor.colorDividerMailbox, height: 0.5, thickness: 0.2),
|
||||
Expanded(child: Container(
|
||||
color: _responsiveUtils.isDesktop(context) ? AppColor.colorBgDesktop : Colors.white,
|
||||
color: _responsiveUtils.isWebDesktop(context) ? AppColor.colorBgDesktop : Colors.white,
|
||||
child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 20, top: 24),
|
||||
|
||||
+3
-1
@@ -51,6 +51,8 @@ class AccountMenuItemTileBuilder extends StatelessWidget {
|
||||
if (_menuItemSelected == _menuItem) {
|
||||
return AppColor.colorBgMailboxSelected;
|
||||
}
|
||||
return _responsiveUtils.isDesktop(_context) ? AppColor.colorBgDesktop : Colors.white;
|
||||
return _responsiveUtils.isWebDesktop(_context)
|
||||
? AppColor.colorBgDesktop
|
||||
: Colors.white;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user