selection: toggle on long press even in selection mode

This commit is contained in:
Thibault Deckers 2020-08-17 08:58:22 +09:00
parent 34a888fa3f
commit 1d77ec9e5e

View file

@ -65,7 +65,7 @@ class GridThumbnail extends StatelessWidget {
}
},
onLongPress: () {
if (AvesApp.mode == AppMode.main && collection.isBrowsing) {
if (AvesApp.mode == AppMode.main) {
collection.toggleSelection(entry);
}
},