Skip to content

Commit

Permalink
fix setting restart
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightczx committed Mar 13, 2023
1 parent 5aba2ea commit 85b9fc1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 3 additions & 0 deletions res/LEGAL NOTICE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
本文件夹中的所有图片,均由 [DGP Studio](https://github.com/DGP-Studio) 委托 [Bilibili 画画的芦苇](https://space.bilibili.com/274422134) 绘制

Copyright ©2023 DGP Studio, All Rights Reserved.
2 changes: 1 addition & 1 deletion src/Snap.Hutao/Snap.Hutao/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Identity
Name="60568DGPStudio.SnapHutao"
Publisher="CN=35C8E923-85DF-49A7-9172-B39DC6312C52"
Version="1.5.2.0" />
Version="1.5.4.0" />

<Properties>
<DisplayName>Snap Hutao</DisplayName>
Expand Down
5 changes: 1 addition & 4 deletions src/Snap.Hutao/Snap.Hutao/ViewModel/SettingViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ internal sealed class SettingViewModel : Abstraction.ViewModel
ToNameValue(CultureInfo.GetCultureInfo("ko")),
};

private bool isEmptyHistoryWishVisible;
private string gamePath;
private NameValue<BackdropType>? selectedBackdropType;
private NameValue<string>? selectedCulture;

Expand Down Expand Up @@ -153,9 +151,8 @@ public NameValue<string>? SelectedCulture
if (value != null)
{
Options.CurrentCulture = CultureInfo.GetCultureInfo(value.Value);
AppInstance.Restart(string.Empty);
}

AppInstance.Restart(string.Empty);
}
}
}
Expand Down

0 comments on commit 85b9fc1

Please sign in to comment.