Added playing song info view and view model.

This commit is contained in:
2025-03-03 22:32:17 -05:00
parent 0675131195
commit 9fc8791ad1
11 changed files with 198 additions and 27 deletions

View File

@@ -21,6 +21,7 @@ public partial class App : Application
services.AddSingleton<MainViewModel>();
services.AddSingleton<MainWindow>();
services.AddSingleton<PlaybackBarViewModel>();
services.AddSingleton<PlayingSongInfoViewModel>();
services.AddHarmonia();
@@ -54,7 +55,7 @@ public partial class App : Application
// DataContext = new MainViewModel()
//};
singleViewPlatform.MainView = ServiceProvider.GetRequiredService<MainWindow>();
singleViewPlatform.MainView = ServiceProvider.GetRequiredService<MainView>();
}
base.OnFrameworkInitializationCompleted();