names changed, layer of abstraction added

This commit is contained in:
2024-03-08 00:07:22 +01:00
Unverified
parent 88a513d32f
commit fe37fc3369
11 changed files with 61 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Page
x:Class="VDownload.Core.Views.Home.HomePlaylistView"
x:Class="VDownload.Core.Views.Home.HomeVideoCollectionView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:VDownload.Core.Views.Home"

View File

@@ -16,11 +16,11 @@ using Windows.Foundation.Collections;
namespace VDownload.Core.Views.Home
{
public sealed partial class HomePlaylistView : Page
public sealed partial class HomeVideoCollectionView : Page
{
#region CONSTRUCTORS
public HomePlaylistView(HomePlaylistViewModel viewModel)
public HomeVideoCollectionView(HomeVideoCollectionViewModel viewModel)
{
this.InitializeComponent();
this.DataContext = viewModel;

View File

@@ -10,7 +10,7 @@
</PropertyGroup>
<ItemGroup>
<None Remove="About\AboutView.xaml" />
<None Remove="Home\HomePlaylistView.xaml" />
<None Remove="Home\HomeVideoCollectionView.xaml" />
</ItemGroup>
<ItemGroup>
@@ -44,7 +44,7 @@
<None Update="Home\HomeDownloadsView.xaml">
<Generator>MSBuild:Compile</Generator>
</None>
<Page Update="Home\HomePlaylistView.xaml">
<Page Update="Home\HomeVideoCollectionView.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<None Update="Home\HomeVideoView.xaml">

View File

@@ -22,7 +22,7 @@ namespace VDownload.Core.Views
{ typeof(HomeViewModel), typeof(HomeView) },
{ typeof(HomeDownloadsViewModel), typeof(HomeDownloadsView) },
{ typeof(HomeVideoViewModel), typeof(HomeVideoView) },
{ typeof(HomePlaylistViewModel), typeof(HomePlaylistView) },
{ typeof(HomeVideoCollectionViewModel), typeof(HomeVideoCollectionView) },
{ typeof(SettingsViewModel), typeof(SettingsView) },
{ typeof(AboutViewModel), typeof(AboutView) },
{ typeof(AuthenticationViewModel), typeof(AuthenticationView) }