Replace all png icon to svg icon
(cherry picked from commit b3d87bdaf11289778e508402c567fee2e545af98)
|
Before Width: | Height: | Size: 301 KiB |
|
Before Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 572 KiB |
|
Before Width: | Height: | Size: 6.7 KiB |
|
After Width: | Height: | Size: 130 KiB |
@@ -0,0 +1,36 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_12295_8692" x1="24" y1="0" x2="24" y2="48"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#2C942B" />
|
||||
<stop offset="0.582834" stop-color="#D0CC01" />
|
||||
<stop offset="1" stop-color="#FEC303" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_12295_8692" x1="2.74925e-07" y1="36.3478" x2="47.3043"
|
||||
y2="36.3478" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FFCF01" stop-opacity="0" />
|
||||
<stop offset="0.57659" stop-color="#F05A2B" />
|
||||
<stop offset="1" stop-color="#E90B00" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear_12295_8692" x1="42.4348" y1="3.13043" x2="14.4348"
|
||||
y2="34.9565" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.0103405" stop-color="#0394F7" />
|
||||
<stop offset="0.177129" stop-color="#0693F3" stop-opacity="0.88" />
|
||||
<stop offset="0.504933" stop-color="#0B92EE" stop-opacity="0.39" />
|
||||
<stop offset="1" stop-color="#E84232" stop-opacity="0" />
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear_12295_8692" x1="1.21739" y1="4.52174" x2="22.2609"
|
||||
y2="28.3478" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.0291436" stop-color="#2B9629" />
|
||||
<stop offset="0.449248" stop-color="#4BBC06" stop-opacity="0.25" />
|
||||
<stop offset="1" stop-color="#0792F7" stop-opacity="0" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect width="48" height="48" rx="14" fill="url(#paint0_linear_12295_8692)" />
|
||||
<rect width="48" height="48" rx="14" fill="url(#paint1_linear_12295_8692)" />
|
||||
<rect width="48" height="48" rx="14" fill="url(#paint2_linear_12295_8692)" />
|
||||
<rect width="48" height="48" rx="14" fill="url(#paint3_linear_12295_8692)" />
|
||||
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||
d="M6 20.4453C6 18.9024 6.71236 17.4459 7.9303 16.4986L20.9303 6.38747C22.7358 4.98315 25.2641 4.98315 27.0697 6.38747L40.0697 16.4986C41.2876 17.4459 42 18.9024 42 20.4453V35.9999C42 39.3136 39.3137 41.9999 36 41.9999H12C8.68629 41.9999 6 39.3136 6 35.9999V20.4453ZM10 35.9999V19.9999L21.675 28.3392C23.0658 29.3327 24.9342 29.3327 26.325 28.3392L38 19.9999V35.9999C38 37.1045 37.1046 37.9999 36 37.9999H12C10.8954 37.9999 10 37.1045 10 35.9999ZM18 11.9999H22.5H25.5H30V14.9999H25.5V23.9999H22.5V14.9999H18V11.9999Z"
|
||||
fill="white" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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(() {
|
||||
|
||||
@@ -54,7 +54,7 @@ class ManageAccountDashBoardView extends GetWidget<ManageAccountDashBoardControl
|
||||
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.backToMailboxDashBoard(context),
|
||||
),
|
||||
Obx(() {
|
||||
|
||||
@@ -34,7 +34,7 @@ class ManageAccountMenuView extends GetWidget<ManageAccountMenuController> {
|
||||
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) {
|
||||
|
||||