mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
prevent showing update webview multiple times
This commit is contained in:
@@ -72,6 +72,7 @@ internal sealed partial class TitleViewModel : Abstraction.ViewModel
|
||||
{
|
||||
if (LocalSetting.Get(SettingKeys.AlwaysIsFirstRunAfterUpdate, false) || XamlApplicationLifetime.IsFirstRunAfterUpdate)
|
||||
{
|
||||
XamlApplicationLifetime.IsFirstRunAfterUpdate = false;
|
||||
new ShowWebView2WindowAction()
|
||||
{
|
||||
ContentProvider = new UpdateLogContentProvider(),
|
||||
|
||||
Reference in New Issue
Block a user