Move InkWell one widget down

This commit is contained in:
krawieck 2020-09-03 00:18:29 +02:00
parent 8e23e418ba
commit 7f0f0c11f1
1 changed files with 6 additions and 6 deletions

View File

@ -80,10 +80,10 @@ class Comment extends StatelessWidget {
children: [ children: [
Row(children: [ Row(children: [
if (comment.creatorAvatar != null) if (comment.creatorAvatar != null)
InkWell( Padding(
onTap: _goToUser,
child: Padding(
padding: const EdgeInsets.only(right: 5), padding: const EdgeInsets.only(right: 5),
child: InkWell(
onTap: _goToUser,
child: CachedNetworkImage( child: CachedNetworkImage(
imageUrl: comment.creatorAvatar, imageUrl: comment.creatorAvatar,
height: 20, height: 20,
@ -112,9 +112,9 @@ class Comment extends StatelessWidget {
if (comment.bannedFromCommunity) if (comment.bannedFromCommunity)
_CommentTag('BANNED FROM COMMUNITY', Colors.red), _CommentTag('BANNED FROM COMMUNITY', Colors.red),
Spacer(), Spacer(),
Text(timeago.format(comment.published, locale: 'en_short')),
Text(' · '),
Text(comment.score.toString()), Text(comment.score.toString()),
Text(' · '),
Text(timeago.format(comment.published, locale: 'en_short')),
]), ]),
Row(children: [body]), Row(children: [body]),
Row(children: [ Row(children: [