Updated playlist view name. Added custom title bar.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
using Harmonia.Core.Caching;
|
||||
using Harmonia.Core.Engine;
|
||||
using Harmonia.Core.Imaging;
|
||||
@@ -27,7 +27,7 @@ using DispatcherQueueTimer = Microsoft.UI.Dispatching.DispatcherQueueTimer;
|
||||
|
||||
namespace Harmonia.WinUI.ViewModels;
|
||||
|
||||
public partial class PlaylistViewModel : ViewModelBase
|
||||
public partial class PlaylistDetailViewModel : ViewModelBase
|
||||
{
|
||||
private readonly IPlaylistManager _playlistManager;
|
||||
private readonly IAudioPlayer _audioPlayer;
|
||||
@@ -126,7 +126,7 @@ public partial class PlaylistViewModel : ViewModelBase
|
||||
|
||||
public event EventHandler? PlayingSongChangedAutomatically;
|
||||
|
||||
public PlaylistViewModel(
|
||||
public PlaylistDetailViewModel(
|
||||
IAudioPlayer audioPlayer,
|
||||
IAudioImageCache audioImageCache,
|
||||
IAudioBitmapImageCache audioBitmapImageCache,
|
||||
@@ -1,4 +1,4 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Harmonia.WinUI.ViewModels;
|
||||
|
||||
@@ -13,6 +13,6 @@ public class ViewModelLocator
|
||||
public static PlayingSongViewModel PlayingSongViewModel
|
||||
=> App.ServiceProvider.GetRequiredService<PlayingSongViewModel>();
|
||||
|
||||
public static PlaylistViewModel PlaylistViewModel
|
||||
=> App.ServiceProvider.GetRequiredService<PlaylistViewModel>();
|
||||
public static PlaylistDetailViewModel PlaylistDetailViewModel
|
||||
=> App.ServiceProvider.GetRequiredService<PlaylistDetailViewModel>();
|
||||
}
|
||||
Reference in New Issue
Block a user