diff --git a/Flow.Launcher.Plugin/Result.cs b/Flow.Launcher.Plugin/Result.cs index a0a29b32a..9b42b1021 100644 --- a/Flow.Launcher.Plugin/Result.cs +++ b/Flow.Launcher.Plugin/Result.cs @@ -246,11 +246,6 @@ namespace Flow.Launcher.Plugin return AsyncAction?.Invoke(context) ?? ValueTask.FromResult(Action?.Invoke(context) ?? false); } - /// - /// Item Height Style. Null, Small (for displaying the native context menu in the Explorer plugin), Author - /// - public ResultItemType ItemType { get; set; } - /// /// Progress bar display. Providing an int value between 0-100 will trigger the progress bar to be displayed on the result /// diff --git a/Flow.Launcher.Plugin/ResultItemType.cs b/Flow.Launcher.Plugin/ResultItemType.cs deleted file mode 100644 index c015f20d6..000000000 --- a/Flow.Launcher.Plugin/ResultItemType.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Flow.Launcher.Plugin; - -public enum ResultItemType -{ - Default, - Small, - Author -} diff --git a/Flow.Launcher/ResultListBox.xaml b/Flow.Launcher/ResultListBox.xaml index a94e71062..e26340c4f 100644 --- a/Flow.Launcher/ResultListBox.xaml +++ b/Flow.Launcher/ResultListBox.xaml @@ -222,11 +222,6 @@ - diff --git a/Flow.Launcher/ViewModel/ResultViewModel.cs b/Flow.Launcher/ViewModel/ResultViewModel.cs index fa5f3bfde..5130e7eba 100644 --- a/Flow.Launcher/ViewModel/ResultViewModel.cs +++ b/Flow.Launcher/ViewModel/ResultViewModel.cs @@ -180,8 +180,6 @@ namespace Flow.Launcher.ViewModel /// public bool UseBigThumbnail => Result.Preview.IsMedia; - public double ItemTypeSmallSize => Settings.ItemHeightSize * 0.6; - public GlyphInfo Glyph { get; set; } private async Task LoadImageInternalAsync(string imagePath, Result.IconDelegate icon, bool loadFullImage) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs b/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs index 2681365d9..f061ca183 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs @@ -284,7 +284,6 @@ namespace Flow.Launcher.Plugin.Explorer { Title = menuItem.Label, Icon = () => menuItem.Icon, - ItemType = ResultItemType.Small, Action = _ => { ShellContextMenuDisplayHelper.ExecuteContextMenuItem(record.FullPath, menuItem.CommandId);