mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 09:21:15 +01:00
Use the new C# 14 null propagation setter
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user