File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ private static HostApplicationBuilder CreateHostBuilder()
130130 builder . Services . AddViewSingleton < SideBarControlView , SideBarControlViewModel > ( ) ;
131131 builder . Services . AddViewSingleton < WorkSpaceControlView , WorkSpaceControlViewModel > ( ) ;
132132 builder . Services . AddViewTransient < CharacterEditorControlView , CharacterEditorControlViewModel > ( ) ;
133- builder . Services . AddViewTransient < AppSettings , AppSettingsViewModel > ( ) ;
133+ builder . Services . AddViewTransient < AppSettingsView , AppSettingsViewModel > ( ) ;
134134 builder . Services . AddTransient < TraitSelectionWindowViewModel > ( ) ;
135135
136136 builder . Services . AddSingleton ( _ => AppSettingService . Load ( ) ) ;
Original file line number Diff line number Diff line change 11<UserControl
2- x : Class =" Moder.Core.Views.Menus.AppSettings "
2+ x : Class =" Moder.Core.Views.Menus.AppSettingsView "
33 xmlns =" https://github.com/avaloniaui"
44 xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
55 xmlns : controls =" clr-namespace:Moder.Core.Controls"
Original file line number Diff line number Diff line change 1515
1616namespace Moder . Core . Views . Menus ;
1717
18- public partial class AppSettings : UserControl , ITabViewItem
18+ public partial class AppSettingsView : UserControl , ITabViewItem
1919{
2020 private IDisposable ? _selectFolderInteractionDisposable ;
2121
22- public AppSettings ( )
22+ public AppSettingsView ( )
2323 {
2424 InitializeComponent ( ) ;
2525 ViewModel = App . Services . GetRequiredService < AppSettingsViewModel > ( ) ;
@@ -28,7 +28,7 @@ public AppSettings()
2828 }
2929
3030 public string Header => Resource . Menu_Settings ;
31- public string Id => nameof ( AppSettings ) ;
31+ public string Id => nameof ( AppSettingsView ) ;
3232 public string ToolTip => Header ;
3333
3434 private AppSettingsViewModel ViewModel { get ; }
Original file line number Diff line number Diff line change @@ -20,6 +20,6 @@ private void OpenCharacterEditor()
2020 private void OpenSettings ( )
2121 {
2222 var tabview = App . Services . GetRequiredService < TabViewNavigationService > ( ) ;
23- tabview . AddSingleTabFromIoc < AppSettings > ( ) ;
23+ tabview . AddSingleTabFromIoc < AppSettingsView > ( ) ;
2424 }
2525}
You can’t perform that action at this time.
0 commit comments