mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 07:43:31 -07:00
Try to fix nullability warning
This commit is contained in:
parent
e237e00600
commit
7b140fd450
|
|
@ -10,7 +10,7 @@ namespace DiscordChatExporter.Gui.ViewModels.Framework
|
|||
|
||||
public event EventHandler? Closed;
|
||||
|
||||
public void Close(T dialogResult = default)
|
||||
public void Close(T dialogResult = default!)
|
||||
{
|
||||
DialogResult = dialogResult!;
|
||||
Closed?.Invoke(this, EventArgs.Empty);
|
||||
|
|
|
|||
Loading…
Reference in a new issue