File tree Expand file tree Collapse file tree
lib/features/mailbox_dashboard/presentation/controller Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import 'package:tmail_ui_user/main/routes/route_navigation.dart';
1212
1313class LinagoraEcosystemController with SentryEcosystemMixin {
1414 GetLinagoraEcosystemInteractor ? _getLinagoraEcosystemInteractor;
15- String ? _baseUrl;
1615
1716 final BaseController _baseController;
1817
@@ -33,10 +32,10 @@ class LinagoraEcosystemController with SentryEcosystemMixin {
3332 }
3433
3534 void _loadLinagoraEcosystem () {
36- _baseUrl ?? = _baseController.dynamicUrlInterceptors.jmapUrl;
35+ final baseUrl = _baseController.dynamicUrlInterceptors.jmapUrl;
3736
38- if (_baseUrl ? .trimmed.isNotEmpty != true ) {
39- logWarning ('LinagoraEcosystemController:_loadLinagoraEcosystem: _baseUrl is empty' );
37+ if (baseUrl == null || baseUrl.trimmed.isEmpty ) {
38+ logWarning ('LinagoraEcosystemController:_loadLinagoraEcosystem: baseUrl is empty' );
4039 return ;
4140 }
4241
@@ -46,7 +45,7 @@ class LinagoraEcosystemController with SentryEcosystemMixin {
4645 }
4746
4847 _baseController.consumeState (
49- _getLinagoraEcosystemInteractor! .execute (_baseUrl ! ),
48+ _getLinagoraEcosystemInteractor! .execute (baseUrl ),
5049 );
5150 }
5251
You can’t perform that action at this time.
0 commit comments