Skip to content

Commit

Permalink
Merge pull request #125 from bensonarafat/develop
Browse files Browse the repository at this point in the history
enclose in if statement for static analysis
  • Loading branch information
bensonarafat authored Dec 12, 2024
2 parents 39105d9 + 33734a8 commit e664105
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/src/super_tooltip.dart
Original file line number Diff line number Diff line change
Expand Up @@ -663,8 +663,9 @@ class _SuperTooltipState extends State<SuperTooltip>
child: GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: () {
if (widget.hideTooltipOnTap)
if (widget.hideTooltipOnTap) {
_superTooltipController!.hideTooltip();
}
},
child: Container(
key: SuperTooltip.bubbleKey,
Expand Down

0 comments on commit e664105

Please sign in to comment.