This commit is contained in:
2025-11-17 09:45:25 +01:00
parent 0bc93bb24b
commit c2ac96938e
7 changed files with 384 additions and 165 deletions

View File

@@ -1,6 +1,7 @@
using System.Collections.ObjectModel;
using System.ComponentModel;
using ModpackUpdater.Apps.Manager.Api.Model;
using ModpackUpdater.Apps.Manager.LangRes;
using PropertyChanged;
namespace ModpackUpdater.Apps.Manager.Ui.Models.MainWindow;
@@ -37,7 +38,7 @@ public class MainWindowViewModel : INotifyPropertyChanged
currentTreeNodes =
[
new ActionSetTreeNode(currentWorkspace.InstallInfos),
new SimpleMainWindowTreeNode("Updates")
new SimpleMainWindowTreeNode(GeneralLangRes.Updates)
{
Image = AppGlobals.Symbols.GetImageSource(AppSymbols.update_done),
Nodes = [.. currentWorkspace.UpdateInfos.Updates.Select(n => new ActionSetTreeNode(n))],