Skip to content

Commit fa350dd

Browse files
committed
Add code comments
1 parent 58f8099 commit fa350dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher/ViewModel/ResultsViewModel.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ private void UpdateResults(List<ResultViewModel> newResults, bool reselect = tru
211211
switch (Visibility)
212212
{
213213
case Visibility.Collapsed when Results.Count > 0:
214-
// Show it only if the results are selected
215-
if (_mainVM == null || _mainVM.ResultsSelected(this))
214+
if (_mainVM == null || // The results is for preview only in apprerance page
215+
_mainVM.ResultsSelected(this)) // The results are selected
216216
{
217217
SelectedIndex = 0;
218218
Visibility = Visibility.Visible;

0 commit comments

Comments
 (0)