This commit is contained in:
Hillel Coren 2019-05-29 18:20:26 +03:00
parent 96dabb60c2
commit 0b57d1dfba
1 changed files with 2 additions and 2 deletions

View File

@ -99,14 +99,14 @@ class StubList extends StatelessWidget {
viewModel.onVendorTap(context, stub), viewModel.onVendorTap(context, stub),
onEntityAction: (EntityAction action) { onEntityAction: (EntityAction action) {
if (action == EntityAction.more) { if (action == EntityAction.more) {
_showMenu(context, stub); _showMenu(context, stub, null);
} else { } else {
viewModel.onEntityAction( viewModel.onEntityAction(
context, stub, action); context, stub, action);
} }
}, },
onLongPress: () => onLongPress: () =>
_showMenu(context, stub), _showMenu(context, stub, null),
), ),
Divider( Divider(
height: 1.0, height: 1.0,