Rename method to _tappingUrlOrImage

pull/13/head
singerdmx 4 years ago
parent 7c2da544c9
commit bf44b9c78f
  1. 4
      lib/widgets/editor.dart

@ -321,7 +321,7 @@ class _QuillEditorSelectionGestureDetectorBuilder
} }
} }
_launchUrlIfNeeded(TapUpDetails details) { _tappingUrlOrImage(TapUpDetails details) {
TextPosition pos = TextPosition pos =
getRenderEditor().getPositionForOffset(details.globalPosition); getRenderEditor().getPositionForOffset(details.globalPosition);
containerNode.ChildQuery result = containerNode.ChildQuery result =
@ -373,7 +373,7 @@ class _QuillEditorSelectionGestureDetectorBuilder
onSingleTapUp(TapUpDetails details) { onSingleTapUp(TapUpDetails details) {
getEditor().hideToolbar(); getEditor().hideToolbar();
_launchUrlIfNeeded(details); _tappingUrlOrImage(details);
if (delegate.getSelectionEnabled()) { if (delegate.getSelectionEnabled()) {
switch (Theme.of(_state.context).platform) { switch (Theme.of(_state.context).platform) {

Loading…
Cancel
Save