From bf44b9c78f775cd36fbdffb716acb903f244203d Mon Sep 17 00:00:00 2001 From: singerdmx Date: Mon, 11 Jan 2021 22:27:46 -0800 Subject: [PATCH] Rename method to _tappingUrlOrImage --- lib/widgets/editor.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/widgets/editor.dart b/lib/widgets/editor.dart index c2649383..e73baaae 100644 --- a/lib/widgets/editor.dart +++ b/lib/widgets/editor.dart @@ -321,7 +321,7 @@ class _QuillEditorSelectionGestureDetectorBuilder } } - _launchUrlIfNeeded(TapUpDetails details) { + _tappingUrlOrImage(TapUpDetails details) { TextPosition pos = getRenderEditor().getPositionForOffset(details.globalPosition); containerNode.ChildQuery result = @@ -373,7 +373,7 @@ class _QuillEditorSelectionGestureDetectorBuilder onSingleTapUp(TapUpDetails details) { getEditor().hideToolbar(); - _launchUrlIfNeeded(details); + _tappingUrlOrImage(details); if (delegate.getSelectionEnabled()) { switch (Theme.of(_state.context).platform) {