feat: clean up warnings.

This commit is contained in:
rabbitism
2024-07-30 18:33:30 +08:00
parent e1f91f612b
commit 15fb5a2d1b
167 changed files with 473 additions and 825 deletions

View File

@@ -5,7 +5,6 @@ using Avalonia.Controls.Primitives;
using Avalonia.Interactivity;
using Avalonia.Styling;
using Irihi.Avalonia.Shared.Helpers;
using Ursa.Common;
namespace Ursa.Controls;
@@ -40,7 +39,7 @@ public class ThemeToggleButton: ThemeSelectorBase
// ToggleButton.IsCheckedProperty.SetValue(_currentTheme == ThemeVariant.Light, _button);
}
private void OnButtonClicked(object sender, RoutedEventArgs e)
private void OnButtonClicked(object? sender, RoutedEventArgs e)
{
bool? currentState = _state;
if (IsThreeState)