Skip to content

Commit

Permalink
chore: Remove unused statements
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Jan 13, 2025
1 parent 3def740 commit 4c81f8e
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,6 @@ void OnLoaded(object sender, RoutedEventArgs args)
// Uno specific: If the control was unloaded but is loaded again, reattach Layout and DataSource events
if (_layoutSubscriptionsRevoker.Disposable is null && Layout is { } layout)
{
_layoutSubscriptionsRevoker.Disposable = null;

InvalidateMeasure();

var disposables = new CompositeDisposable();
Expand All @@ -636,8 +634,6 @@ void OnLoaded(object sender, RoutedEventArgs args)

if (_dataSourceSubscriptionsRevoker.Disposable is null && m_itemsSourceView is not null)
{
_dataSourceSubscriptionsRevoker.Disposable = null;

m_itemsSourceView.CollectionChanged += OnItemsSourceViewChanged;
_dataSourceSubscriptionsRevoker.Disposable = Disposable.Create(() =>
{
Expand Down

0 comments on commit 4c81f8e

Please sign in to comment.