Fix or disable multiple warnings

This commit is contained in:
Stone_Red
2024-02-22 09:34:01 +01:00
parent 481d0554c2
commit 9a75cbd8e7
7 changed files with 13 additions and 8 deletions
+2 -2
View File
@@ -10,9 +10,9 @@ public class Button : Setting
/// <summary>
/// Occurs when the button gets clicked.
/// </summary>
public event Action OnClick;
public event Action? OnClick;
private string _value;
private string _value = string.Empty;
/// <summary>
/// Gets or sets the text caption displayed in the <see cref="Button"/> element.