Skip to content

Commit 09d8cef

Browse files
committed
Remove unused properties
1 parent 15b8747 commit 09d8cef

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

Plugins/Flow.Launcher.Plugin.WebSearch/Settings.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,5 @@ public string Suggestion
231231
}
232232
}
233233
}
234-
235-
public string BrowserPath { get; set; }
236-
237-
public bool OpenInNewBrowser { get; set; } = true;
238234
}
239235
}

Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
mc:Ignorable="d">
1212

1313
<UserControl.Resources>
14-
<Style x:Key="BrowserPathBoxStyle" TargetType="TextBox">
15-
<Setter Property="Height" Value="28" />
16-
<Setter Property="VerticalContentAlignment" Value="Center" />
17-
</Style>
1814
<DataTemplate x:Key="HeaderTemplateArrowUp">
1915
<DockPanel>
2016
<TextBlock HorizontalAlignment="Center" Text="{Binding}" />

Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ private void SortByColumn(object sender, RoutedEventArgs e)
9494
var columnBinding = headerClicked.Column.DisplayMemberBinding as Binding;
9595
var sortBy = columnBinding?.Path.Path ?? headerClicked.Column.Header as string;
9696

97-
if(sortBy != null) {
97+
if (sortBy != null)
98+
{
9899
Sort(sortBy, direction);
99100

100101
if (direction == ListSortDirection.Ascending)

0 commit comments

Comments
 (0)