diff --git a/.gitignore b/.gitignore index f03f0cf..f79646a 100644 --- a/.gitignore +++ b/.gitignore @@ -352,4 +352,5 @@ MigrationBackup/ # FMP WPF release files FRESHMusicPlayer/FRESHMusicPlayer-WPF/Releases FRESHMusicPlayer/FRESHMusicPlayer-WPF/ReleasesBackup -FRESHMusicPlayer/FRESHMusicPlayer-WPF/BlueprintReleases \ No newline at end of file +FRESHMusicPlayer/FRESHMusicPlayer-WPF/BlueprintReleases +/FRESHMusicPlayer/log.txt diff --git a/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/ViewModels/SettingsViewModel.cs b/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/ViewModels/SettingsViewModel.cs index e075f6d..f655a4a 100644 --- a/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/ViewModels/SettingsViewModel.cs +++ b/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/ViewModels/SettingsViewModel.cs @@ -58,7 +58,7 @@ namespace FRESHMusicPlayer.ViewModels { var stringBuilder = new StringBuilder(); stringBuilder.AppendLine(Properties.Resources.Settings_AutoImport_Info); - if (Config.AutoImportPaths is not null) + if (Config is not null) { foreach (var path in Config.AutoImportPaths) stringBuilder.AppendLine(path); diff --git a/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/Views/MainWindow.axaml b/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/Views/MainWindow.axaml index ca20a4d..7419a5a 100644 --- a/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/Views/MainWindow.axaml +++ b/FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/Views/MainWindow.axaml @@ -206,14 +206,11 @@ - +