TF-682 Standardize layout of Mailbox Dashboard on web

This commit is contained in:
dab246
2022-07-01 18:40:42 +07:00
committed by Dat H. Pham
parent ffe5fe5056
commit 6b58073790
9 changed files with 118 additions and 98 deletions
@@ -88,8 +88,10 @@ class AppBarThreadWidgetBuilder {
Widget _buildBodyAppBarForWeb() {
return Row(children: [
if (!_responsiveUtils.isTabletLarge(_context)) _buildMenuButton(),
if (_responsiveUtils.isTabletLarge(_context)) const SizedBox(width: 16),
if (_responsiveUtils.hasLeftMenuDrawerActive(_context))
_buildMenuButton(),
if (_responsiveUtils.hasLeftMenuDrawerActive(_context))
const SizedBox(width: 16),
Expanded(child: Text(
_currentMailbox?.name?.name.capitalizeFirstEach ?? '',
maxLines: 1,