From 87b0232cafe959a3caa1896f8a26c20c09d97cd7 Mon Sep 17 00:00:00 2001 From: Michael Harding Date: Thu, 8 Feb 2018 15:41:46 -0500 Subject: [PATCH] SPARK-432: Support dialog does not require contact info --- .../spark/view/Controls/Dialogs/SupportRequestWindow.xaml | 2 +- .../spark/view/Controls/Dialogs/SupportRequestWindow.xaml.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/spark/view/Controls/Dialogs/SupportRequestWindow.xaml b/src/client/spark/view/Controls/Dialogs/SupportRequestWindow.xaml index 8b8e39bc7..777e92129 100644 --- a/src/client/spark/view/Controls/Dialogs/SupportRequestWindow.xaml +++ b/src/client/spark/view/Controls/Dialogs/SupportRequestWindow.xaml @@ -26,7 +26,7 @@ Symbols, expirations and additional details. - + diff --git a/src/client/spark/view/Controls/Dialogs/SupportRequestWindow.xaml.cs b/src/client/spark/view/Controls/Dialogs/SupportRequestWindow.xaml.cs index cbbf99a52..f91441b78 100644 --- a/src/client/spark/view/Controls/Dialogs/SupportRequestWindow.xaml.cs +++ b/src/client/spark/view/Controls/Dialogs/SupportRequestWindow.xaml.cs @@ -45,7 +45,7 @@ namespace bts.view.controls { public SupportRequestVM(ErrorReportService svc, ErrorReportImmutable report_base) { _service = svc; _base = report_base; - send_command = new DelegateCommand(send_report, _ => !string.IsNullOrWhiteSpace(_text.Value) && !string.IsNullOrWhiteSpace(_contact.Value)); + send_command = new DelegateCommand(send_report, _ => !string.IsNullOrWhiteSpace(_text.Value)); _text = backing(nameof(user_text), ""); _text.Changed += (_,__) => send_command.TryRaiseCanExecuteChanged(); _contact = backing(nameof(user_contact), "");