mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
Merge branch 'develop' into feat/refresh_ui_for_team_appearence
This commit is contained in:
@@ -56,7 +56,7 @@ internal sealed partial class GachaLogService : IGachaLogService
|
||||
/// <inheritdoc/>
|
||||
public async ValueTask<bool> InitializeAsync(CancellationToken token = default)
|
||||
{
|
||||
if (context.IsInitialized)
|
||||
if (context is { IsInitialized: true })
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -243,6 +243,11 @@
|
||||
PlaceholderText="{shcm:ResourceString Name=ViewPageAchievementSearchPlaceholder}"
|
||||
QueryIcon="{shcm:FontIcon Glyph=}"
|
||||
Text="{Binding SearchText, Mode=TwoWay}">
|
||||
<AutoSuggestBox.TextBoxStyle>
|
||||
<Style BasedOn="{StaticResource AutoSuggestBoxTextBoxStyle}" TargetType="TextBox">
|
||||
<Setter Property="IsSpellCheckEnabled" Value="False"/>
|
||||
</Style>
|
||||
</AutoSuggestBox.TextBoxStyle>
|
||||
<mxi:Interaction.Behaviors>
|
||||
<mxic:EventTriggerBehavior EventName="QuerySubmitted">
|
||||
<mxic:InvokeCommandAction Command="{Binding SearchAchievementCommand}" CommandParameter="{Binding SearchText}"/>
|
||||
|
||||
Reference in New Issue
Block a user