Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/MobileUI/Features/Network/NetworkPageViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ public async Task Initialise()
_ => false
};

// Disable refreshing when done.
AdvancedSearchResults.OnCollectionUpdated += OnCollectionUpdated;

// This is to reduce flickering when loading data.
AdvancedSearchResults.CompareItems = NetworkProfileDto.IsEqual;

// Handle errors silently, e.g., log them or show a message.
AdvancedSearchResults.OnError += OnCollectionError;
}

// Disable refreshing when done.
AdvancedSearchResults.OnCollectionUpdated += OnCollectionUpdated;

// Handle errors silently, e.g., log them or show a message.
AdvancedSearchResults.OnError += OnCollectionError;

_pageLoaded = true;

await RefreshNetwork();
Expand Down
Loading