diff --git a/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/ViewModels/MainWindowViewModel.cs b/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/ViewModels/MainWindowViewModel.cs index 91abb0f..5c8e094 100644 --- a/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/ViewModels/MainWindowViewModel.cs +++ b/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/ViewModels/MainWindowViewModel.cs @@ -51,7 +51,7 @@ namespace FRESHMusicPlayer.ViewModels public class MainWindowViewModel : ViewModelBase { - public Player Player { get; private set; } + public Player Player { get; private set; } = new Player(); public Timer ProgressTimer { get; private set; } = new(100); public Library Library { get; private set; } public IMetadataProvider CurrentTrack { get; private set; } diff --git a/FRESHMusicPlayer/FRESHMusicPlayer-WPF/FRESHMusicPlayer-WPF.csproj b/FRESHMusicPlayer/FRESHMusicPlayer-WPF/FRESHMusicPlayer-WPF.csproj index 526bc2c..8b8d9ef 100644 --- a/FRESHMusicPlayer/FRESHMusicPlayer-WPF/FRESHMusicPlayer-WPF.csproj +++ b/FRESHMusicPlayer/FRESHMusicPlayer-WPF/FRESHMusicPlayer-WPF.csproj @@ -397,7 +397,7 @@ 1.9.0 - 5.7.0 + 5.7.2 runtime; build; native; contentfiles; analyzers; buildtransitive all