Skip to content

Commit

Permalink
chore: fix ios TreeView tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoy312 committed Sep 18, 2024
1 parent d5ac8f3 commit b9f20a3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Uno.UI/Microsoft/UI/Xaml/Controls/TreeView/TreeView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -409,13 +409,6 @@ protected override void OnApplyTemplate()
m_rootNode = new TreeViewNode();
}

#if __IOS__
// Workaround for NSInternalInconsistencyException caused by PrepareView
// inserting on an empty not-ready UICollectionView.
// TODO: We shouldn't need this here. It should've been handled by ListView/NativeListViewBase.
listControl.NativePanel.SetNeedsReloadData();
#endif

if (ItemsSource != null)
{
viewModel.IsContentMode = true;
Expand Down

0 comments on commit b9f20a3

Please sign in to comment.