From 7b140fd45081adbfc0cefa4f7a8d93390c3a4e5e Mon Sep 17 00:00:00 2001 From: Tyrrrz Date: Thu, 18 Mar 2021 02:13:15 +0200 Subject: [PATCH] Try to fix nullability warning --- DiscordChatExporter.Gui/ViewModels/Framework/DialogScreen.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DiscordChatExporter.Gui/ViewModels/Framework/DialogScreen.cs b/DiscordChatExporter.Gui/ViewModels/Framework/DialogScreen.cs index 0e103a6c..05f0cf1a 100644 --- a/DiscordChatExporter.Gui/ViewModels/Framework/DialogScreen.cs +++ b/DiscordChatExporter.Gui/ViewModels/Framework/DialogScreen.cs @@ -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);