From ab4f78feff13ba4b9f72fcb005f1b36464988474 Mon Sep 17 00:00:00 2001 From: Yusyuriv Date: Sat, 8 Jun 2024 10:01:13 +0600 Subject: [PATCH] Explorer plugin native context menu: some code simplifications --- Flow.Launcher/ResultListBox.xaml | 23 ++++------------------ Flow.Launcher/ViewModel/ResultViewModel.cs | 5 +---- 2 files changed, 5 insertions(+), 23 deletions(-) diff --git a/Flow.Launcher/ResultListBox.xaml b/Flow.Launcher/ResultListBox.xaml index 340d67e82..ae8ed609a 100644 --- a/Flow.Launcher/ResultListBox.xaml +++ b/Flow.Launcher/ResultListBox.xaml @@ -223,26 +223,11 @@ - \ No newline at end of file + diff --git a/Flow.Launcher/ViewModel/ResultViewModel.cs b/Flow.Launcher/ViewModel/ResultViewModel.cs index f29c718f5..f966a06a8 100644 --- a/Flow.Launcher/ViewModel/ResultViewModel.cs +++ b/Flow.Launcher/ViewModel/ResultViewModel.cs @@ -180,10 +180,7 @@ namespace Flow.Launcher.ViewModel /// public bool UseBigThumbnail => Result.Preview.IsMedia; - public double SmallSize - { - get { return Settings.ItemHeightSize * 0.6; } - } + public double SmallSize => Settings.ItemHeightSize * 0.6; public GlyphInfo Glyph { get; set; }