prevent showing update webview multiple times

This commit is contained in:
DismissedLight
2024-07-16 22:36:23 +08:00
parent 555043dfaa
commit 3ea7d59985

View File

@@ -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(),