Rename ChangeQueryText1Async to ChangeQueryTextCoreAsync

Refactored method name for clarity and consistency. Updated all internal references to use the new method name. No functional changes were made.
This commit is contained in:
Jack251970 2026-03-10 12:07:23 +08:00
parent fc147c3377
commit a12645df30

View file

@ -795,10 +795,10 @@ namespace Flow.Launcher.ViewModel
private async Task ChangeQueryTextAsync(string queryText, bool isReQuery = false)
{
// Must check access so that we will not block the UI thread which causes window visibility issue
await DispatcherHelper.InvokeAsync(() => ChangeQueryText1Async(queryText, isReQuery));
await DispatcherHelper.InvokeAsync(() => ChangeQueryTextCoreAsync(queryText, isReQuery));
}
private async Task ChangeQueryText1Async(string queryText, bool isReQuery = false)
private async Task ChangeQueryTextCoreAsync(string queryText, bool isReQuery = false)
{
if (QueryText != queryText)
{