moved delete action one higher
This commit is contained in:
parent
5c8ec4f0e4
commit
47ab40a4f6
|
@ -182,17 +182,17 @@ class Comment extends HookWidget {
|
||||||
pop();
|
pop();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
ListTile(
|
|
||||||
leading: Icon(Icons.info_outline),
|
|
||||||
title: Text('Nerd stuff'),
|
|
||||||
onTap: () => _showCommentInfo(context),
|
|
||||||
),
|
|
||||||
if (isMine)
|
if (isMine)
|
||||||
ListTile(
|
ListTile(
|
||||||
leading: Icon(isDeleted.value ? Icons.restore : Icons.delete),
|
leading: Icon(isDeleted.value ? Icons.restore : Icons.delete),
|
||||||
title: Text(isDeleted.value ? 'Restore' : 'Delete'),
|
title: Text(isDeleted.value ? 'Restore' : 'Delete'),
|
||||||
onTap: loggedInAction(handleDelete),
|
onTap: loggedInAction(handleDelete),
|
||||||
)
|
),
|
||||||
|
ListTile(
|
||||||
|
leading: Icon(Icons.info_outline),
|
||||||
|
title: Text('Nerd stuff'),
|
||||||
|
onTap: () => _showCommentInfo(context),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue