convert pop to arrow function

This commit is contained in:
krawieck 2020-09-16 21:21:47 +02:00
parent d63c84d4bb
commit a5eaf784d5
1 changed files with 1 additions and 3 deletions

View File

@ -99,9 +99,7 @@ class Comment extends HookWidget {
final saved = comment.saved ?? false;
void _openMoreMenu(BuildContext context) {
pop() {
Navigator.of(context).pop();
}
pop() => Navigator.of(context).pop();
final com = commentTree.comment;
showModalBottomSheet(