feat: Enhance UI with new styles, improved layout, and icon integration across various views
This commit is contained in:
parent
fa09f7c324
commit
901dc02ca8
6 changed files with 215 additions and 91 deletions
|
|
@ -155,12 +155,6 @@ public partial class AvaloniaMainWindow : Window
|
|||
|
||||
private void UpdateThemeToggleButtonContent()
|
||||
{
|
||||
var toggleButton = this.FindControl<Avalonia.Controls.Button>("ThemeToggleButton");
|
||||
if (toggleButton is null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
toggleButton.Content = _isDarkTheme ? "☀" : "🌙";
|
||||
_ = this.FindControl<Avalonia.Controls.Button>("ThemeToggleButton");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue