mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Code quality
This commit is contained in:
parent
1f6ab1c9de
commit
aec11ce1a7
1 changed files with 5 additions and 5 deletions
|
|
@ -105,9 +105,6 @@ namespace Flow.Launcher
|
|||
|
||||
private async void OnLoaded(object sender, RoutedEventArgs _)
|
||||
{
|
||||
// Setup search text box reactiveness
|
||||
SetupSearchTextBoxReactiveness(_settings.SearchQueryResultsWithDelay);
|
||||
|
||||
// Check first launch
|
||||
if (_settings.FirstLaunch)
|
||||
{
|
||||
|
|
@ -125,6 +122,9 @@ namespace Flow.Launcher
|
|||
welcomeWindow.Show();
|
||||
}
|
||||
|
||||
// Initialize search delay
|
||||
SetupSearchTextBoxReactiveness(_settings.SearchQueryResultsWithDelay);
|
||||
|
||||
// Initialize place holder
|
||||
SetupPlaceholderText();
|
||||
_viewModel.PlaceholderText = _settings.PlaceholderText;
|
||||
|
|
@ -167,7 +167,7 @@ namespace Flow.Launcher
|
|||
|
||||
// Reset preview
|
||||
_viewModel.ResetPreview();
|
||||
|
||||
|
||||
// Since the default main window visibility is visible, so we need set focus during startup
|
||||
QueryTextBox.Focus();
|
||||
|
||||
|
|
@ -1060,7 +1060,7 @@ namespace Flow.Launcher
|
|||
be.UpdateSource();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void QueryTextBox_OnPreviewDragOver(object sender, DragEventArgs e)
|
||||
{
|
||||
e.Handled = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue