Skip to content

Commit

Permalink
fix cn login
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightczx committed Mar 31, 2023
1 parent 50112cb commit 97f5904
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Microsoft.EntityFrameworkCore.Design;
using Snap.Hutao.Model.Entity.Database;

namespace Snap.Hutao.Context.Database;
namespace Snap.Hutao.Model.Entity.Database;

/// <summary>
/// 此类只用于在生成迁移时提供数据库上下文
Expand Down
13 changes: 6 additions & 7 deletions src/Snap.Hutao/Snap.Hutao/View/Page/SpiralAbyssRecordPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
xmlns:shcb="using:Snap.Hutao.Control.Behavior"
xmlns:shci="using:Snap.Hutao.Control.Image"
xmlns:shcm="using:Snap.Hutao.Control.Markup"
xmlns:shv="using:Snap.Hutao.ViewModel"
xmlns:shvc="using:Snap.Hutao.View.Control"
d:DataContext="{d:DesignInstance shv:SpiralAbyssRecordViewModel}"
xmlns:shvs="using:Snap.Hutao.ViewModel.SpiralAbyss"
d:DataContext="{d:DesignInstance shvs:SpiralAbyssRecordViewModel}"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
mc:Ignorable="d">

Expand Down Expand Up @@ -305,16 +305,15 @@
HorizontalAlignment="Center"
Style="{StaticResource SubtitleTextBlockStyle}"
Text="{shcm:ResourceString Name=ViewSpiralAbyssDefaultDescription}"/>
<StackPanel Margin="0,-36,0,0" HorizontalAlignment="Center">
<StackPanel Margin="0,24,0,0">
<clw:SettingsCard
Command="{Binding RefreshCommand}"
Description="{shcm:ResourceString Name=ViewSpiralAbyssRefreshDescription}"
Header="{shcm:ResourceString Name=ViewSpiralAbyssRefresh}"
HeaderIcon="{shcm:FontIcon Glyph=&#xE72c;}">
<Button Command="{Binding RefreshCommand}" Content="{shcm:ResourceString Name=ViewSpiralAbyssRefreshAction}"/>
</clw:SettingsCard>
HeaderIcon="{shcm:FontIcon Glyph=&#xE72c;}"
IsClickEnabled="True"/>
</StackPanel>
</StackPanel>
</Grid>
</Grid>

</shc:ScopedPage>
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Snap.Hutao.Web.Hoyolab.Passport;
/// </summary>
[HighQuality]
[UseDynamicSecret]
[HttpClient(HttpClientConfiguration.Default)]
[HttpClient(HttpClientConfiguration.XRpc2)]
internal sealed class PassportClient
{
private readonly HttpClient httpClient;
Expand Down

0 comments on commit 97f5904

Please sign in to comment.