From 7f0f0c11f13f4c9018c6fb1bfa966066c0a017f5 Mon Sep 17 00:00:00 2001 From: krawieck Date: Thu, 3 Sep 2020 00:18:29 +0200 Subject: [PATCH] Move InkWell one widget down --- lib/widgets/comment.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/widgets/comment.dart b/lib/widgets/comment.dart index b44bd16..641e04d 100644 --- a/lib/widgets/comment.dart +++ b/lib/widgets/comment.dart @@ -80,10 +80,10 @@ class Comment extends StatelessWidget { children: [ Row(children: [ if (comment.creatorAvatar != null) - InkWell( - onTap: _goToUser, - child: Padding( - padding: const EdgeInsets.only(right: 5), + Padding( + padding: const EdgeInsets.only(right: 5), + child: InkWell( + onTap: _goToUser, child: CachedNetworkImage( imageUrl: comment.creatorAvatar, height: 20, @@ -112,9 +112,9 @@ class Comment extends StatelessWidget { if (comment.bannedFromCommunity) _CommentTag('BANNED FROM COMMUNITY', Colors.red), Spacer(), - Text(timeago.format(comment.published, locale: 'en_short')), - Text(' · '), Text(comment.score.toString()), + Text(' · '), + Text(timeago.format(comment.published, locale: 'en_short')), ]), Row(children: [body]), Row(children: [