mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
fix setting restart
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -153,9 +151,8 @@ internal sealed class SettingViewModel : Abstraction.ViewModel
|
||||
if (value != null)
|
||||
{
|
||||
Options.CurrentCulture = CultureInfo.GetCultureInfo(value.Value);
|
||||
AppInstance.Restart(string.Empty);
|
||||
}
|
||||
|
||||
AppInstance.Restart(string.Empty);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user