Skip to content

armgit / ente

Public Imported from GitHub
0

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

Refine social overlay shadows

ashilkn505a66b8108b
diff --git a/mobile/apps/photos/changes/align-social-icon-sizing.md b/mobile/apps/photos/changes/align-social-icon-sizing.md
index aadcae882a..ea953751cb 100644
--- a/mobile/apps/photos/changes/align-social-icon-sizing.md
+++ b/mobile/apps/photos/changes/align-social-icon-sizing.md
@@ -1 +1 @@
-- Align social controls and comment badges with the memories viewer design.
+- Align social controls and comment badge sizing and positioning with the memories viewer design.
diff --git a/mobile/apps/photos/lib/ui/social/widgets/file_social_overlay.dart b/mobile/apps/photos/lib/ui/social/widgets/file_social_overlay.dart
index 13cc02a0db..083a6d3dce 100644
--- a/mobile/apps/photos/lib/ui/social/widgets/file_social_overlay.dart
+++ b/mobile/apps/photos/lib/ui/social/widgets/file_social_overlay.dart
@@ -27,9 +27,9 @@ const _likedColor = Color(0xFF08C225);
const _socialControlsSize = 48.0;
const _socialIconSize = 24.0;
const _socialIconPadding = EdgeInsets.all(12);
-const _socialIconShadows = [Shadow(color: Color(0x33000000), blurRadius: 16)];
+const _socialIconShadows = [Shadow(color: Color(0x26000000), blurRadius: 12)];
const _countBadgeShadows = [
- BoxShadow(color: Color(0x33000000), blurRadius: 16),
+ BoxShadow(color: Color(0x1F000000), blurRadius: 4),
];
const _latestCommentShadows = [
BoxShadow(color: Color(0x14000000), blurRadius: 4),
@@ -635,8 +635,8 @@ class _CommentBadgeIcon extends StatelessWidget {
shadows: _socialIconShadows,
),
Positioned(
- right: -5,
- top: -5,
+ right: -7,
+ top: -7,
child: AnimatedSwitcher(
duration: _motionDuration(context, 160),
reverseDuration: _motionDuration(context, 120),