From d67701ef9e955a7190e0a4e87cf35bf6948d5b84 Mon Sep 17 00:00:00 2001 From: Lior Banai <36262995+LiorBanai@users.noreply.github.com> Date: Fri, 6 Nov 2020 10:54:47 +0200 Subject: [PATCH] .. --- Analogy.Updater/DownloadUpdateDialog.cs | 2 +- Analogy.Updater/UpdateForm.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Analogy.Updater/DownloadUpdateDialog.cs b/Analogy.Updater/DownloadUpdateDialog.cs index 4dc6d16..b86737b 100644 --- a/Analogy.Updater/DownloadUpdateDialog.cs +++ b/Analogy.Updater/DownloadUpdateDialog.cs @@ -70,7 +70,7 @@ private void DownloadUpdateDialogLoad(object sender, EventArgs e) private void OnDownloadProgressChanged(object sender, DownloadProgressChangedEventArgs e) { - if (_startedAt == default(DateTime)) + if (_startedAt == default) { _startedAt = DateTime.Now; } diff --git a/Analogy.Updater/UpdateForm.cs b/Analogy.Updater/UpdateForm.cs index 4430fe1..78851ab 100644 --- a/Analogy.Updater/UpdateForm.cs +++ b/Analogy.Updater/UpdateForm.cs @@ -33,8 +33,8 @@ public UpdateForm() public sealed override string Text { - get { return base.Text; } - set { base.Text = value; } + get => base.Text; + set => base.Text = value; }