mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 10:10:45 +08:00
chore: 添加资源更新提示
This commit is contained in:
@@ -94,6 +94,18 @@ public class VersionUpdateSettingsUserControlModel : PropertyChangedBase
|
||||
|
||||
private static string _resourceVersion = _resourceInfo.VersionName;
|
||||
|
||||
private string _newResourceFoundInfo = string.Empty;
|
||||
|
||||
public string NewResourceFoundInfo
|
||||
{
|
||||
get => _newResourceFoundInfo;
|
||||
set
|
||||
{
|
||||
SetAndNotify(ref _newResourceFoundInfo, value);
|
||||
Instances.SettingsViewModel.UpdateWindowTitle();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the resource version.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user