about page added

This commit is contained in:
2024-03-05 17:01:00 +01:00
Unverified
parent 4f786afe42
commit 411a32039f
13 changed files with 211 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Core.ViewModels.About
{
public class AboutViewModel : ObservableObject
{
}
}

View File

@@ -12,6 +12,7 @@ using VDownload.Core.ViewModels.Settings;
using VDownload.Services.UI.DictionaryResources;
using VDownload.Services.UI.StringResources;
using SimpleToolkit.UI.Models;
using VDownload.Core.ViewModels.About;
namespace VDownload.Core.ViewModels
{
@@ -72,6 +73,12 @@ namespace VDownload.Core.ViewModels
(
new ObservableCollection<NavigationViewItem>
{
new NavigationViewItem()
{
Name = _stringResourcesService.BaseViewResources.Get("AboutNavigationViewItem"),
IconSource = _dictionaryResourcesService.Get<string>("ImageBaseViewAbout"),
ViewModel = typeof(AboutViewModel),
},
new NavigationViewItem()
{
Name = _stringResourcesService.BaseViewResources.Get("AuthenticationNavigationViewItem"),