Code quality

This commit is contained in:
Jack251970 2025-03-30 12:20:14 +08:00
parent 1f6ab1c9de
commit aec11ce1a7

View file

@ -105,9 +105,6 @@ namespace Flow.Launcher
private async void OnLoaded(object sender, RoutedEventArgs _) private async void OnLoaded(object sender, RoutedEventArgs _)
{ {
// Setup search text box reactiveness
SetupSearchTextBoxReactiveness(_settings.SearchQueryResultsWithDelay);
// Check first launch // Check first launch
if (_settings.FirstLaunch) if (_settings.FirstLaunch)
{ {
@ -125,6 +122,9 @@ namespace Flow.Launcher
welcomeWindow.Show(); welcomeWindow.Show();
} }
// Initialize search delay
SetupSearchTextBoxReactiveness(_settings.SearchQueryResultsWithDelay);
// Initialize place holder // Initialize place holder
SetupPlaceholderText(); SetupPlaceholderText();
_viewModel.PlaceholderText = _settings.PlaceholderText; _viewModel.PlaceholderText = _settings.PlaceholderText;