Skip to content

Commit

Permalink
修复重复搜索没有生效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Richasy committed Jan 7, 2024
1 parent b169418 commit e49218b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/App/Forms/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,12 @@ private void OnRequestSearch(object sender, string e)
vm.InitializeCommand.Execute(default);
_ = OverlayFrame.Navigate(typeof(SearchPage), vm);
}
else
{
var page = OverlayFrame.Content as SearchPage;
page.ViewModel.SetKeyword(e);
page.ViewModel.InitializeCommand.Execute(default);
}
}

private void OnRequestShowMyMessages(object sender, EventArgs e)
Expand Down

0 comments on commit e49218b

Please sign in to comment.