Browse Source

Switch FooterPages type back to PageViewBase

pull/55/head
Ionite 1 year ago
parent
commit
72f637707d
No known key found for this signature in database
  1. 4
      StabilityMatrix.Avalonia/App.axaml.cs
  2. 4
      StabilityMatrix.Avalonia/DesignData/DesignData.cs

4
StabilityMatrix.Avalonia/App.axaml.cs

@ -203,14 +203,14 @@ public partial class App : Application
new MainWindowViewModel(provider.GetRequiredService<ISettingsManager>(),
provider.GetRequiredService<ServiceManager<ViewModelBase>>())
{
Pages = new List<PageViewModelBase>
Pages =
{
provider.GetRequiredService<LaunchPageViewModel>(),
provider.GetRequiredService<PackageManagerViewModel>(),
provider.GetRequiredService<CheckpointsPageViewModel>(),
provider.GetRequiredService<CheckpointBrowserViewModel>(),
},
FooterPages = new List<object>
FooterPages =
{
provider.GetRequiredService<SettingsViewModel>()
}

4
StabilityMatrix.Avalonia/DesignData/DesignData.cs

@ -85,14 +85,14 @@ public static class DesignData
// Main window
MainWindowViewModel = new MainWindowViewModel(settingsManager, dialogFactory)
{
Pages = new List<PageViewModelBase>
Pages =
{
LaunchPageViewModel,
PackageManagerViewModel,
CheckpointsPageViewModel,
CheckpointBrowserViewModel
},
FooterPages = new List<PageViewModelBase>
FooterPages =
{
SettingsViewModel
}

Loading…
Cancel
Save