π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Apply scale animation to both bubble and actions popup
ashilknf9e40a268e46
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.dartindex fcfb948eab..9b34e7964a 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@@ -231,21 +231,21 @@ class _CommentBubbleWidgetState extends State<CommentBubbleWidget>const SizedBox(height: 12),Padding(padding: EdgeInsets.only(left: widget.isOwnComment ? 0 : 24),- child: Column(- crossAxisAlignment: CrossAxisAlignment.end,- mainAxisSize: MainAxisSize.min,- children: [- Stack(- children: [- Padding(- padding: showActionsCapsule- ? const EdgeInsets.only(right: 16, bottom: 17)- : EdgeInsets.zero,- child: Transform.scale(- scale: bubbleScale,- alignment: widget.isOwnComment- ? Alignment.topRight- : Alignment.topLeft,+ child: Transform.scale(+ scale: bubbleScale,+ alignment: widget.isOwnComment+ ? Alignment.topRight+ : Alignment.topLeft,+ child: Column(+ crossAxisAlignment: CrossAxisAlignment.end,+ mainAxisSize: MainAxisSize.min,+ children: [+ Stack(+ children: [+ Padding(+ padding: showActionsCapsule+ ? const EdgeInsets.only(right: 16, bottom: 17)+ : EdgeInsets.zero,child: _CommentBubble(comment: widget.comment,isOwnComment: widget.isOwnComment,@@ -255,35 +255,35 @@ class _CommentBubbleWidgetState extends State<CommentBubbleWidget>userResolver: widget.userResolver,),),- ),- if (!_isLoadingReactions && showActionsCapsule)- Positioned(- right: 0,- bottom: 0,- child: CommentActionsCapsule(- isLiked: _isLiked,- onLikeTap: _toggleLike,- onReplyTap: widget.onReplyTap,+ if (!_isLoadingReactions && showActionsCapsule)+ Positioned(+ right: 0,+ bottom: 0,+ child: CommentActionsCapsule(+ isLiked: _isLiked,+ onLikeTap: _toggleLike,+ onReplyTap: widget.onReplyTap,+ ),),+ ],+ ),+ if (showActionsPopup)+ Padding(+ padding: const EdgeInsets.only(top: 8),+ child: CommentActionsPopup(+ isLiked: _isLiked,+ onLikeTap: () {+ _hideHighlight();+ _toggleLike();+ },+ onReplyTap: () {+ _hideHighlight();+ widget.onReplyTap();+ },),- ],- ),- if (showActionsPopup)- Padding(- padding: const EdgeInsets.only(top: 8),- child: CommentActionsPopup(- isLiked: _isLiked,- onLikeTap: () {- _hideHighlight();- _toggleLike();- },- onReplyTap: () {- _hideHighlight();- widget.onReplyTap();- },),- ),- ],+ ],+ ),),),],