Skip to content

Commit

Permalink
Fix Tizen SwipeView CA errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jfversluis committed Sep 21, 2023
1 parent 3665eb0 commit f6f00a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Core/src/Platform/Tizen/MauiSwipeView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ void UpdateOffset(double swipeOffset)
}
}

void UpdateSwipeItemViewLayout(ISwipeItemView swipeItemView)
static void UpdateSwipeItemViewLayout(ISwipeItemView swipeItemView)
{
swipeItemView?.Handler?.ToPlatform().InvalidateMeasure(swipeItemView);
}
Expand Down Expand Up @@ -428,7 +428,7 @@ void Swipe()
}
}

void ExecuteSwipeItem(ISwipeItem item)
static void ExecuteSwipeItem(ISwipeItem item)
{
if (item == null)
return;
Expand Down Expand Up @@ -722,7 +722,7 @@ bool IsValidSwipeItems(ISwipeItems? swipeItems)
return swipeItems != null && swipeItems.Where(s => GetIsVisible(s)).Any();
}

bool GetIsVisible(ISwipeItem swipeItem)
static bool GetIsVisible(ISwipeItem swipeItem)
{
if (swipeItem is IView view)
return view.Visibility == Maui.Visibility.Visible;
Expand Down

0 comments on commit f6f00a8

Please # to comment.