TF-2040 Add LanguageCodeConstants to manage language supported

(cherry picked from commit de57a6a8a43c18e1deed057d6a0e12c06c2bb1fe)
This commit is contained in:
dab246
2023-07-25 19:54:56 +07:00
committed by Dat Vu
parent b2e5b29dc0
commit 6f1ef2e645
5 changed files with 49 additions and 17 deletions
@@ -140,7 +140,7 @@ abstract class ReloadableController extends BaseController {
}
void updateAuthenticationAccount(Session session, AccountId accountId, UserName userName) {
final apiUrl = session.getQualifiedApiUrl(baseUrl: _dynamicUrlInterceptors.jmapUrl);;
final apiUrl = session.getQualifiedApiUrl(baseUrl: _dynamicUrlInterceptors.jmapUrl);
log('ReloadableController::updateAuthenticationAccount():apiUrl: $apiUrl');
if (apiUrl.isNotEmpty) {
consumeState(_updateAuthenticationAccountInteractor.execute(accountId, apiUrl, userName));
@@ -61,7 +61,7 @@ class MailboxDashBoardView extends BaseMailboxDashBoardView {
children: [
SizedBox(
width: ResponsiveUtils.defaultSizeLeftMenuMobile,
child: _buildScaffoldHaveDrawer(body: SendingQueueView())),
child: _buildScaffoldHaveDrawer(body: const SendingQueueView())),
Expanded(child: EmailView()),
],
);
@@ -70,7 +70,7 @@ class MailboxDashBoardView extends BaseMailboxDashBoardView {
desktop: bodyView,
tabletLarge: bodyView,
landscapeTablet: bodyView,
mobile: _buildScaffoldHaveDrawer(body: SendingQueueView()));
mobile: _buildScaffoldHaveDrawer(body: const SendingQueueView()));
case DashboardRoutes.waiting:
return const Center(
child: SizedBox(