subscriptions page added

This commit is contained in:
2024-03-08 20:48:31 +01:00
Unverified
parent 032c08a810
commit 70fdc10f50
14 changed files with 216 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ using VDownload.Services.UI.DictionaryResources;
using VDownload.Services.UI.StringResources;
using SimpleToolkit.UI.Models;
using VDownload.Core.ViewModels.About;
using VDownload.Core.ViewModels.Subscriptions;
namespace VDownload.Core.ViewModels
{
@@ -66,7 +67,13 @@ namespace VDownload.Core.ViewModels
Name = _stringResourcesService.BaseViewResources.Get("HomeNavigationViewItem"),
IconSource = _dictionaryResourcesService.Get<string>("ImageBaseViewHome"),
ViewModel = typeof(HomeViewModel),
}
},
new NavigationViewItem()
{
Name = _stringResourcesService.BaseViewResources.Get("SubscriptionsNavigationViewItem"),
IconSource = _dictionaryResourcesService.Get<string>("ImageBaseViewSubscriptions"),
ViewModel = typeof(SubscriptionsViewModel),
},
}
);
FooterItems = new ReadOnlyObservableCollection<NavigationViewItem>

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.Subscriptions
{
public class SubscriptionsViewModel : ObservableObject
{
}
}