diff --git a/DiscordChatExporter.Gui/Framework/DialogManager.cs b/DiscordChatExporter.Gui/Framework/DialogManager.cs index 258ae872..88e3e371 100644 --- a/DiscordChatExporter.Gui/Framework/DialogManager.cs +++ b/DiscordChatExporter.Gui/Framework/DialogManager.cs @@ -38,9 +38,9 @@ public class DialogManager : IDisposable } ); - // Small delay to allow DialogHost to fully reset its state + // Yield to allow DialogHost to reset its state // before another dialog can be shown - await Task.Delay(100); + await Task.Yield(); return dialog.DialogResult; }