mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-19 05:11:31 +00:00
Try to fix nullability warning
This commit is contained in:
@@ -10,7 +10,7 @@ namespace DiscordChatExporter.Gui.ViewModels.Framework
|
|||||||
|
|
||||||
public event EventHandler? Closed;
|
public event EventHandler? Closed;
|
||||||
|
|
||||||
public void Close(T dialogResult = default)
|
public void Close(T dialogResult = default!)
|
||||||
{
|
{
|
||||||
DialogResult = dialogResult!;
|
DialogResult = dialogResult!;
|
||||||
Closed?.Invoke(this, EventArgs.Empty);
|
Closed?.Invoke(this, EventArgs.Empty);
|
||||||
|
|||||||
Reference in New Issue
Block a user