Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

update heart beat icon

AmanRajSinghMourya0fedd4089a79
diff --git a/mobile/apps/locker/assets/svg/legacy_heartbeat_icon.svg b/mobile/apps/locker/assets/svg/legacy_heartbeat_icon.svg
index fb20c61ef6..e0746c7767 100644
--- a/mobile/apps/locker/assets/svg/legacy_heartbeat_icon.svg
+++ b/mobile/apps/locker/assets/svg/legacy_heartbeat_icon.svg
@@ -1,6 +1,6 @@
-<svg preserveAspectRatio="none" width="100%" height="100%" overflow="visible" style="display: block;" viewBox="0 0 18 16.5001" fill="none" xmlns="http://www.w3.org/2000/svg">
-<g id="Group 1597882067">
-<path id="Vector" d="M14.9081 0.798505C14.0881 0.292879 13.148 0.0182539 12.1868 0.000788602C11.2244 -0.0157093 10.2747 0.226909 9.43816 0.70437L8.74689 1.09159L8.05563 0.70437C7.17654 0.209428 6.17743 -0.0292977 5.16947 0.014378C4.16259 0.0590202 3.18767 0.383162 2.35518 0.952811C1.52936 1.49627 0.873908 2.2639 0.466327 3.16547C0.0577782 4.068 -0.0864928 5.0666 0.0500205 6.04787C0.545711 9.85596 3.36594 13.3418 8.43215 16.4106C8.62966 16.5299 8.87654 16.5299 9.07402 16.4106C10.6076 15.4983 12.0432 14.4298 13.357 13.2206C13.4848 13.1109 13.5633 12.9527 13.5729 12.7829C13.5826 12.614 13.5226 12.4481 13.4074 12.3239C13.2912 12.2006 13.1305 12.1288 12.9611 12.1269C12.7926 12.1249 12.63 12.1928 12.5118 12.3142C11.352 13.3807 10.0915 14.3308 8.74682 15.1508C4.22067 12.3385 1.70851 9.22331 1.2718 5.88875C1.16918 5.13665 1.28052 4.369 1.59517 3.67803C1.90884 2.98608 2.41229 2.398 3.04643 1.98166C3.69026 1.54205 4.44442 1.29167 5.22281 1.25768C6.00119 1.22469 6.77378 1.41004 7.45342 1.7924L8.4448 2.34848C8.63262 2.45523 8.86304 2.45523 9.05182 2.34848L10.0432 1.7924C10.688 1.42652 11.4189 1.24019 12.1596 1.25378C12.9012 1.2664 13.6244 1.47796 14.2566 1.86713C14.8772 2.23204 15.3883 2.75801 15.7369 3.38882C16.0864 4.01964 16.2597 4.73293 16.2393 5.45398C16.2345 5.61896 16.2955 5.77909 16.4088 5.89847C16.5211 6.01881 16.6769 6.08868 16.8415 6.09256C17.1833 6.10226 17.4689 5.83247 17.4786 5.48893C17.5076 4.54853 17.2849 3.61688 16.8328 2.79211C16.3807 1.96721 15.7156 1.27916 14.9081 0.798775L14.9081 0.798505Z" fill="var(--fill-0, black)" style="fill:black;fill-opacity:1;"/>
-<path id="Vector_2" d="M17.3804 7.4821H12.6364C12.4418 7.48307 12.2578 7.57429 12.1407 7.73054L11.3323 8.79125L10.0388 5.43746C9.97009 5.19776 9.76387 5.02307 9.51603 4.99395C9.26818 4.96581 9.0271 5.09002 8.9061 5.30837L7.08697 7.49176H4.67047C4.32872 7.49176 4.05086 7.77029 4.05086 8.11286C4.05086 8.45641 4.32872 8.73396 4.67047 8.73396H7.44907C7.67174 8.73493 7.877 8.61557 7.9864 8.42148L9.26241 7.20467L10.49 10.3147C10.5568 10.5379 10.7417 10.7058 10.9712 10.7495C11.1997 10.7903 11.433 10.7 11.5753 10.5156L12.9462 8.72415H17.3804C17.7221 8.72415 18 8.44659 18 8.10305C18 7.76047 17.7221 7.4821 17.3804 7.4821Z" fill="var(--fill-0, black)" style="fill:black;fill-opacity:1;"/>
+<svg preserveAspectRatio="none" width="100%" height="100%" overflow="visible" style="display: block;" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="Heartbeat">
+<path id="Vector" d="M2 5.89646C2 3.71444 3.694 2 5.85 2C7.068 2 8.237 2.57384 9 3.48065C9.763 2.57384 10.932 2 12.15 2C14.306 2 16 3.71444 16 5.89646M3.88754 10.0416C4.91615 11.2489 6.3199 12.5367 7.985 14.0649L9 15L10.015 14.0719C11.6806 12.5401 13.0847 11.2502 14.1134 10.0416" stroke="black" stroke-width="1.125" stroke-linecap="round"/>
+<path id="Vector 1377" d="M1 8H6.58421L7.6579 6L9.80526 10L10.8789 8H17" stroke="black" stroke-width="1.125" stroke-linecap="round" stroke-linejoin="round"/>
</g>
</svg>
diff --git a/mobile/apps/locker/lib/ui/pages/home_page.dart b/mobile/apps/locker/lib/ui/pages/home_page.dart
index 72aa71573d..8a00c19a67 100644
--- a/mobile/apps/locker/lib/ui/pages/home_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/home_page.dart
@@ -107,15 +107,11 @@ class LockerHomeHeader extends StatelessWidget {
onTap: onLegacyTapped,
child: SizedBox.square(
dimension: 24,
- child: Padding(
- padding: const EdgeInsets.fromLTRB(3, 4, 3, 3.5),
- child: SvgPicture.asset(
- 'assets/svg/legacy_heartbeat_icon.svg',
- fit: BoxFit.fill,
- colorFilter: ColorFilter.mode(
- colors.textBase,
- BlendMode.srcIn,
- ),
+ child: SvgPicture.asset(
+ 'assets/svg/legacy_heartbeat_icon.svg',
+ colorFilter: ColorFilter.mode(
+ colors.textBase,
+ BlendMode.srcIn,
),
),
),