diff --git a/src/App.axaml b/src/App.axaml index e5fccaf..42192bc 100644 --- a/src/App.axaml +++ b/src/App.axaml @@ -1,6 +1,9 @@ + + + diff --git a/src/App.axaml.cs b/src/App.axaml.cs index f760a54..4897feb 100644 --- a/src/App.axaml.cs +++ b/src/App.axaml.cs @@ -52,19 +52,19 @@ namespace AvaloniaCoreRTDemo { case ApplicationTheme.SimpleLight: this._simpleTheme.Mode = SimpleThemeMode.Light; - this.Styles[0] = this._simpleTheme; + this.Styles[1] = this._simpleTheme; break; case ApplicationTheme.SimpleDark: this._simpleTheme.Mode = SimpleThemeMode.Dark; - this.Styles[0] = this._simpleTheme; + this.Styles[1] = this._simpleTheme; break; case ApplicationTheme.FluentLight: this._fluentTheme.Mode = FluentThemeMode.Light; - this.Styles[0] = this._fluentTheme; + this.Styles[1] = this._fluentTheme; break; case ApplicationTheme.FluentDark: this._fluentTheme.Mode = FluentThemeMode.Dark; - this.Styles[0] = this._fluentTheme; + this.Styles[1] = this._fluentTheme; break; } } diff --git a/src/AvaloniaCoreRTDemo.csproj b/src/AvaloniaCoreRTDemo.csproj index 57a8a7f..6c272f8 100644 --- a/src/AvaloniaCoreRTDemo.csproj +++ b/src/AvaloniaCoreRTDemo.csproj @@ -42,6 +42,7 @@ + diff --git a/src/Windows/AboutWindow.axaml b/src/Windows/AboutWindow.axaml index bcd4700..58e9b80 100644 --- a/src/Windows/AboutWindow.axaml +++ b/src/Windows/AboutWindow.axaml @@ -1,67 +1,20 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + diff --git a/src/Windows/MainWindow.axaml b/src/Windows/MainWindow.axaml index e82bf20..0c5a4ca 100644 --- a/src/Windows/MainWindow.axaml +++ b/src/Windows/MainWindow.axaml @@ -7,6 +7,9 @@ x:DataType="viewModels1:MainViewModelBase"> + +