diff --git a/assets/images/2.0x/login_graphic.png b/assets/images/2.0x/login_graphic.png deleted file mode 100644 index 1d5fa72c6..000000000 Binary files a/assets/images/2.0x/login_graphic.png and /dev/null differ diff --git a/assets/images/2.0x/logo_tmail.png b/assets/images/2.0x/logo_tmail.png deleted file mode 100644 index c4b6ac045..000000000 Binary files a/assets/images/2.0x/logo_tmail.png and /dev/null differ diff --git a/assets/images/3.0x/login_graphic.png b/assets/images/3.0x/login_graphic.png deleted file mode 100644 index 48fa5849c..000000000 Binary files a/assets/images/3.0x/login_graphic.png and /dev/null differ diff --git a/assets/images/3.0x/logo_tmail.png b/assets/images/3.0x/logo_tmail.png deleted file mode 100644 index 7baa274a3..000000000 Binary files a/assets/images/3.0x/logo_tmail.png and /dev/null differ diff --git a/assets/images/ic_login_graphic.svg b/assets/images/ic_login_graphic.svg new file mode 100644 index 000000000..71f4c7a47 --- /dev/null +++ b/assets/images/ic_login_graphic.svg @@ -0,0 +1,823 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/ic_tmail_logo.svg b/assets/images/ic_tmail_logo.svg new file mode 100644 index 000000000..07ddce90d --- /dev/null +++ b/assets/images/ic_tmail_logo.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/login_graphic.png b/assets/images/login_graphic.png deleted file mode 100644 index 29a34dada..000000000 Binary files a/assets/images/login_graphic.png and /dev/null differ diff --git a/assets/images/logo_tmail.png b/assets/images/logo_tmail.png deleted file mode 100644 index 9b8f1d232..000000000 Binary files a/assets/images/logo_tmail.png and /dev/null differ diff --git a/core/lib/presentation/resources/image_paths.dart b/core/lib/presentation/resources/image_paths.dart index cea00d9f5..ddf2e0939 100644 --- a/core/lib/presentation/resources/image_paths.dart +++ b/core/lib/presentation/resources/image_paths.dart @@ -47,7 +47,6 @@ class ImagePaths { String get icFilterSelected => _getImagePath('ic_filter_selected.svg'); String get icFilterMessageAll => _getImagePath('ic_filter_message_all.svg'); String get icFilterMessageAttachments => _getImagePath('ic_filter_message_attachments.svg'); - String get icLogoTMail => _getImagePath('logo_tmail.png'); String get icSendToast => _getImagePath('ic_send_toast.svg'); String get icSendSuccessToast => _getImagePath('ic_send_success_toast.svg'); String get icClearTextSearch => _getImagePath('ic_clear_text_search.svg'); @@ -97,7 +96,6 @@ class ImagePaths { String get icEncrypted => _getImagePath('ic_encrypted.svg'); String get icIntegration => _getImagePath('ic_integration.svg'); String get icTeam => _getImagePath('ic_team.svg'); - String get loginGraphic => _getImagePath('login_graphic.png'); String get icPowerByLinagora => _getImagePath('power_by_linagora.svg'); String get icAttachmentSB => _getImagePath('ic_attachment_sb.svg'); String get icCalendarSB => _getImagePath('ic_calendar_sb.svg'); @@ -199,6 +197,8 @@ class ImagePaths { String get icEventUpdated => _getImagePath('ic_event_updated.svg'); String get icEventCanceled => _getImagePath('ic_event_canceled.svg'); String get icFormatQuote => _getImagePath('ic_format_quote.svg'); + String get icTMailLogo => _getImagePath('ic_tmail_logo.svg'); + String get icLoginGraphic => _getImagePath('ic_login_graphic.svg'); String _getImagePath(String imageName) { return AssetsPaths.images + imageName; diff --git a/lib/features/login/presentation/login_view_web.dart b/lib/features/login/presentation/login_view_web.dart index 25f8767dc..4905fc583 100644 --- a/lib/features/login/presentation/login_view_web.dart +++ b/lib/features/login/presentation/login_view_web.dart @@ -143,8 +143,8 @@ class LoginView extends BaseLoginView { ), Padding( padding: const EdgeInsets.only(top: 44), - child: Image( - image: AssetImage(imagePaths.loginGraphic), + child: SvgPicture.asset( + imagePaths.icLoginGraphic, fit: BoxFit.fill, alignment: Alignment.center ) @@ -215,8 +215,8 @@ class LoginView extends BaseLoginView { return Row( mainAxisSize: MainAxisSize.min, children: [ - Image( - image: AssetImage(imagePaths.icLogoTMail), + SvgPicture.asset( + imagePaths.icTMailLogo, fit: BoxFit.fill, width: 36, height: 36, diff --git a/lib/features/mailbox/presentation/mailbox_view_web.dart b/lib/features/mailbox/presentation/mailbox_view_web.dart index 208fd5b3c..34e1e50ed 100644 --- a/lib/features/mailbox/presentation/mailbox_view_web.dart +++ b/lib/features/mailbox/presentation/mailbox_view_web.dart @@ -66,7 +66,7 @@ class MailboxView extends BaseMailboxView { text: AppLocalizations.of(context).app_name, textAlign: TextAlign.center, textStyle: const TextStyle(color: Colors.black, fontSize: 20, fontWeight: FontWeight.bold), - logo: imagePaths.icLogoTMail + logoSVG: imagePaths.icTMailLogo ), Obx(() { if (controller.mailboxDashBoardController.appInformation.value != null) { diff --git a/lib/features/mailbox_dashboard/presentation/mailbox_dashboard_view_web.dart b/lib/features/mailbox_dashboard/presentation/mailbox_dashboard_view_web.dart index a84c473f1..9ffc4d8d9 100644 --- a/lib/features/mailbox_dashboard/presentation/mailbox_dashboard_view_web.dart +++ b/lib/features/mailbox_dashboard/presentation/mailbox_dashboard_view_web.dart @@ -73,7 +73,7 @@ class MailboxDashBoardView extends BaseMailboxDashBoardView { text: AppLocalizations.of(context).app_name, textAlign: TextAlign.center, textStyle: const TextStyle(color: Colors.black, fontSize: 20, fontWeight: FontWeight.bold), - logo: imagePaths.icLogoTMail, + logoSVG: imagePaths.icTMailLogo, onTapCallback: controller.redirectToInboxAction, ), Obx(() { diff --git a/lib/features/manage_account/presentation/manage_account_dashboard_view.dart b/lib/features/manage_account/presentation/manage_account_dashboard_view.dart index 2aa808d5c..6b552547c 100644 --- a/lib/features/manage_account/presentation/manage_account_dashboard_view.dart +++ b/lib/features/manage_account/presentation/manage_account_dashboard_view.dart @@ -54,7 +54,7 @@ class ManageAccountDashBoardView extends GetWidget controller.backToMailboxDashBoard(context), ), Obx(() { diff --git a/lib/features/manage_account/presentation/menu/manage_account_menu_view.dart b/lib/features/manage_account/presentation/menu/manage_account_menu_view.dart index 9b5299557..c94b0c887 100644 --- a/lib/features/manage_account/presentation/menu/manage_account_menu_view.dart +++ b/lib/features/manage_account/presentation/menu/manage_account_menu_view.dart @@ -34,7 +34,7 @@ class ManageAccountMenuView extends GetWidget { text: AppLocalizations.of(context).app_name, textAlign: TextAlign.center, textStyle: const TextStyle(color: Colors.black, fontSize: 20, fontWeight: FontWeight.bold), - logo: _imagePaths.icLogoTMail + logoSVG: _imagePaths.icTMailLogo ), Obx(() { if (controller.dashBoardController.appInformation.value != null) {