chore: 提取 ResourceReload 方法

This commit is contained in:
uye
2025-03-07 23:26:31 +08:00
parent c0ff1ddbe9
commit bfd0ce283e
5 changed files with 26 additions and 27 deletions

View File

@@ -462,10 +462,7 @@ public class VersionUpdateSettingsUserControlModel : PropertyChangedBase
if (success)
{
Instances.AsstProxy.LoadResource();
DataHelper.Reload();
SettingsViewModel.VersionUpdateSettings.ResourceInfoUpdate();
ToastNotification.ShowDirect(LocalizationHelper.GetString("GameResourceUpdated"));
ResourceUpdater.ResourceReload();
}
IsCheckingForUpdates = false;