Skip to content

armgit / ente

Public Imported from GitHub
0

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

Make comments screen ore similar to figma design

ashilknb3cca0cee38d
diff --git a/mobile/apps/photos/lib/ui/social/widgets/comment_bubble_widget.dart b/mobile/apps/photos/lib/ui/social/widgets/comment_bubble_widget.dart
index d913aeac0d..3db907745c 100644
--- a/mobile/apps/photos/lib/ui/social/widgets/comment_bubble_widget.dart
+++ b/mobile/apps/photos/lib/ui/social/widgets/comment_bubble_widget.dart
@@ -317,6 +317,7 @@ class _CommentBubble extends StatelessWidget {
color: textColor,
height: 22 / 14,
fontWeight: FontWeight.w500,
+ letterSpacing: -0.28,
),
),
],
diff --git a/mobile/apps/photos/lib/ui/social/widgets/reply_preview_widget.dart b/mobile/apps/photos/lib/ui/social/widgets/reply_preview_widget.dart
index eaa27fc548..083ce54320 100644
--- a/mobile/apps/photos/lib/ui/social/widgets/reply_preview_widget.dart
+++ b/mobile/apps/photos/lib/ui/social/widgets/reply_preview_widget.dart
@@ -47,15 +47,25 @@ class ReplyPreviewWidget extends StatelessWidget {
mainAxisSize: MainAxisSize.min,
children: [
Text(
- "Replying to ${replyingToUser.id == currentUserID ? 'You' : (replyingToUser.displayName ?? replyingToUser.email)}",
- style: textTheme.small.copyWith(color: colorScheme.textMuted),
+ replyingToUser.id == currentUserID
+ ? 'Replying to you'
+ : 'Replying to ${replyingToUser.displayName ?? replyingToUser.email}',
+ style: textTheme.tiny.copyWith(
+ color: colorScheme.textBase,
+ height: 14 / 10.0,
+ letterSpacing: -0.3,
+ ),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
const SizedBox(height: 2),
Text(
replyingTo.data,
- style: textTheme.mini.copyWith(color: colorScheme.textFaint),
+ style: textTheme.small.copyWith(
+ color: colorScheme.textBase,
+ height: 22 / 14.0,
+ letterSpacing: -0.28,
+ ),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),