File tree 2 files changed +10
-6
lines changed
2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,10 @@ class DesktopHome extends ConsumerWidget {
100
100
mainAxisAlignment: MainAxisAlignment .start,
101
101
children: [
102
102
GestureDetector (
103
- onTap: () async =>
104
- showImage (context: context, image: result),
103
+ onTap: result is Column
104
+ ? null
105
+ : () async =>
106
+ showImage (context: context, image: result),
105
107
child: GenericContainer (
106
108
image: result,
107
109
),
Original file line number Diff line number Diff line change @@ -50,10 +50,12 @@ class ResultsView extends ConsumerWidget {
50
50
),
51
51
SizedBox (height: 20 ),
52
52
GestureDetector (
53
- onLongPress: () async => showImage (
54
- context: context,
55
- image: result,
56
- ),
53
+ onLongPress: result is Column
54
+ ? null
55
+ : () async => showImage (
56
+ context: context,
57
+ image: result,
58
+ ),
57
59
child: GenericContainer (image: result),
58
60
),
59
61
SizedBox (height: 20 ),
You can’t perform that action at this time.
0 commit comments