mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Improve code comments
This commit is contained in:
parent
72a59ba6c5
commit
5243d74eaf
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ public partial class SearchDelayTimeWindow : Window
|
||||||
selected = searchDelayTimes.FirstOrDefault(x => x.Value == _pluginViewModel.PluginSearchDelayTime);
|
selected = searchDelayTimes.FirstOrDefault(x => x.Value == _pluginViewModel.PluginSearchDelayTime);
|
||||||
}
|
}
|
||||||
// Add default value to the beginning of the list
|
// Add default value to the beginning of the list
|
||||||
// When _pluginViewModel.PluginSearchDelay equals null, we will select this
|
// When _pluginViewModel.PluginSearchDelayTime equals null, we will select this
|
||||||
searchDelayTimes.Insert(0, new SearchDelayTimeData { Display = App.API.GetTranslation("default"), LocalizationKey = "default" });
|
searchDelayTimes.Insert(0, new SearchDelayTimeData { Display = App.API.GetTranslation("default"), LocalizationKey = "default" });
|
||||||
selected ??= searchDelayTimes.FirstOrDefault();
|
selected ??= searchDelayTimes.FirstOrDefault();
|
||||||
tbDelay.ItemsSource = searchDelayTimes;
|
tbDelay.ItemsSource = searchDelayTimes;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue