Skip to content

Commit 756c283

Browse files
committed
updated the changes.
1 parent 8dc0a17 commit 756c283

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

maui/src/TabView/Control/HorizontalContent/SfHorizontalContent.iOS.cs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,13 @@ void ITapGestureListener.ShouldHandleTap(object view)
7676
var textInputView = FindSfTextInputLayout(uiTouch.View?.Superview);
7777
this._canProcessTouch = true;
7878

79-
var touchViewType = touchView?.GetType().FullName;
80-
if (touchViewType != null && touchViewType.Contains("CommunityToolkit.Maui.Core.Views.MauiDrawingView", StringComparison.Ordinal))
81-
{
82-
this._canProcessTouch = false;
83-
return;
84-
}
79+
const string MauiDrawingViewTypeName = "CommunityToolkit.Maui.Core.Views.MauiDrawingView";
80+
var touchViewType = touchView?.GetType().FullName;
81+
if (touchViewType is not null && touchViewType.Contains(MauiDrawingViewTypeName, StringComparison.Ordinal))
82+
{
83+
this._canProcessTouch = false;
84+
return;
85+
}
8586

8687
if (textInputView != null)
8788
{

0 commit comments

Comments
 (0)