Skip to content

Commit ac7715a

Browse files
authored
Fix null check (#400)
1 parent d984512 commit ac7715a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/core/photo_view_core.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ class PhotoViewCoreState extends State<PhotoViewCore>
340340
onTapUp: widget.onTapUp != null
341341
? (details) => widget.onTapUp!(context, details, value)
342342
: null,
343-
onTapDown: widget.onTapUp != null
343+
onTapDown: widget.onTapDown != null
344344
? (details) => widget.onTapDown!(context, details, value)
345345
: null,
346346
);

0 commit comments

Comments
 (0)