mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add code comments
This commit is contained in:
parent
fa350ddb07
commit
8e7e173850
2 changed files with 2 additions and 1 deletions
|
|
@ -479,6 +479,7 @@ public partial class SettingsPaneThemeViewModel : BaseModel
|
|||
)
|
||||
}
|
||||
};
|
||||
// Set main view model to null because this results are for preview only
|
||||
var vm = new ResultsViewModel(Settings, null);
|
||||
vm.AddResults(results, "PREVIEW");
|
||||
PreviewResults = vm;
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@ namespace Flow.Launcher.ViewModel
|
|||
switch (Visibility)
|
||||
{
|
||||
case Visibility.Collapsed when Results.Count > 0:
|
||||
if (_mainVM == null || // The results is for preview only in apprerance page
|
||||
if (_mainVM == null || // The results are for preview only in apprerance page
|
||||
_mainVM.ResultsSelected(this)) // The results are selected
|
||||
{
|
||||
SelectedIndex = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue