From 51dc61376eba05af7e72f221a59e151af5130b21 Mon Sep 17 00:00:00 2001 From: Vic <10308169+VictoriousRaptor@users.noreply.github.com> Date: Sun, 20 Nov 2022 13:56:36 +0800 Subject: [PATCH] revert displaying current time in date/time format dropdown --- Flow.Launcher/SettingWindow.xaml | 15 ++---------- .../ViewModel/SettingWindowViewModel.cs | 24 +++++++++---------- 2 files changed, 14 insertions(+), 25 deletions(-) diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index e078cb6e2..aa390b885 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -44,7 +44,6 @@ - @@ -2181,12 +2180,7 @@ VerticalAlignment="Center" FontSize="14" ItemsSource="{Binding TimeFormatList}" - SelectedIndex="{Binding TimeFormat}"> - - - - - + SelectedItem="{Binding TimeFormat}"> - - - - - + SelectedItem="{Binding DateFormat}"> DateTime.Now.ToString(TimeFormat); - public string DateText { get; private set; } + public string DateText => DateTime.Now.ToString(DateFormat); public double WindowWidthSize