Use the new C# 14 null propagation setter

This commit is contained in:
GreemDev authored and KeatonTheBot committed 2025-11-19 20:09:08 -06:00
1 parent b7c13715f1
commit e349ef72fb
13 files changed
+33 -123

No files matched your search

@@ -167,10 +167,7 @@ namespace Ryujinx.Ava.UI.Controls
private void Message_TextInput(object sender, TextInputEventArgs e)
{
if (_host != null)
{
_host.IsPrimaryButtonEnabled = _checkLength(Message.Length) && _checkInput(Message);
}
_host?.IsPrimaryButtonEnabled = _checkLength(Message.Length) && _checkInput(Message);
}
private void Message_KeyUp(object sender, KeyEventArgs e)