moved delete action one higher

This commit is contained in:
shilangyu 2020-10-05 21:38:19 +02:00
parent 5c8ec4f0e4
commit 47ab40a4f6
1 changed files with 6 additions and 6 deletions

View File

@ -182,17 +182,17 @@ class Comment extends HookWidget {
pop();
},
),
ListTile(
leading: Icon(Icons.info_outline),
title: Text('Nerd stuff'),
onTap: () => _showCommentInfo(context),
),
if (isMine)
ListTile(
leading: Icon(isDeleted.value ? Icons.restore : Icons.delete),
title: Text(isDeleted.value ? 'Restore' : 'Delete'),
onTap: loggedInAction(handleDelete),
)
),
ListTile(
leading: Icon(Icons.info_outline),
title: Text('Nerd stuff'),
onTap: () => _showCommentInfo(context),
),
],
),
),