TF-528 Update size for responsive on tablet and landscape mobile

This commit is contained in:
dab246
2022-05-04 10:52:57 +07:00
committed by Dat H. Pham
parent 2e3c4e8f88
commit dbbc13eab4
20 changed files with 316 additions and 418 deletions
@@ -147,10 +147,7 @@ class MailboxView extends GetWidget<MailboxController> {
left: _responsiveUtils.isDesktop(context) ? 20 : 0),
children: [
Obx(() {
if ((controller.isSelectionEnabled()
&& _responsiveUtils.isMobile(context)
&& _responsiveUtils.isLandscape(context))
|| _responsiveUtils.isDesktop(context)) {
if (controller.isSelectionEnabled() || _responsiveUtils.isDesktop(context)) {
return const SizedBox.shrink();
}
return _buildUserInformation(context);