diff --git a/VidCoder/View/ExceptionDialog.xaml.cs b/VidCoder/View/ExceptionDialog.xaml.cs index d55e5d1f..167c7a04 100644 --- a/VidCoder/View/ExceptionDialog.xaml.cs +++ b/VidCoder/View/ExceptionDialog.xaml.cs @@ -53,7 +53,8 @@ public ExceptionDialog(Exception exception) private void copyButton_Click(object sender, RoutedEventArgs e) { - StaticResolver.Resolve().SetText(this.exceptionDetails); + var clipboardService = new ClipboardService(); + clipboardService.SetText(this.exceptionDetails); try { string issueTitle = $"{this.exception.GetType().FullName}: {this.exception.Message}";