Skip to content

Commit

Permalink
disable deprecation warning (#578)
Browse files Browse the repository at this point in the history
  • Loading branch information
williambohrmann3 authored Jun 7, 2024
1 parent 44f8d9a commit 9fef6e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Toolkit/Toolkit.UI.Controls/FloorFilter/FloorFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,9 @@ private void HandleControllerPropertyChanges(object? sender, PropertyChangedEven
_autoVisibilityWrapper?.SetValue(VisibilityProperty, _controller.ShouldDisplayFloorPicker ? Visibility.Visible : Visibility.Collapsed);
break;
case nameof(_controller.AllDisplayLevelsSelected):
#pragma warning disable CS0618 // Ensure typo property is still set for backwards compatibility purposes.
OnPropertyChanged(nameof(AllDisplayLevelsSelecteded));
#pragma warning restore CS0618
OnPropertyChanged(nameof(AllDisplayLevelsSelected));
break;
}
Expand Down

0 comments on commit 9fef6e5

Please sign in to comment.