diff --git a/Flow.Launcher.sln b/Flow.Launcher.sln
index 0d9eea06c..f59d3d26f 100644
--- a/Flow.Launcher.sln
+++ b/Flow.Launcher.sln
@@ -213,6 +213,7 @@ Global
{C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0}.Release|x86.ActiveCfg = Release|Any CPU
{C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0}.Release|x86.Build.0 = Release|Any CPU
{9B130CC5-14FB-41FF-B310-0A95B6894C37}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9B130CC5-14FB-41FF-B310-0A95B6894C37}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9B130CC5-14FB-41FF-B310-0A95B6894C37}.Debug|x64.ActiveCfg = Debug|Any CPU
{9B130CC5-14FB-41FF-B310-0A95B6894C37}.Debug|x64.Build.0 = Debug|Any CPU
{9B130CC5-14FB-41FF-B310-0A95B6894C37}.Debug|x86.ActiveCfg = Debug|Any CPU
diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml
index 2dd61329a..d141ba82c 100644
--- a/Flow.Launcher/Languages/en.xaml
+++ b/Flow.Launcher/Languages/en.xaml
@@ -61,10 +61,9 @@
Search Plugin
- Ctrl+F to Search Plugins
- No results to display
- Try another search term.
- Please check your network connection or try another search term.
+ Ctrl+F to search plugins
+ No results found
+ Please try a different search.
Plugin
Find more plugins
On
diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml
index 0a87ba677..067c69c5a 100644
--- a/Flow.Launcher/SettingWindow.xaml
+++ b/Flow.Launcher/SettingWindow.xaml
@@ -324,8 +324,6 @@
-
-
@@ -429,7 +427,7 @@
Margin="0,20,0,4"
FontWeight="Bold"
Text="{DynamicResource searchplugin_Noresult_Title}" />
-
+
@@ -1033,7 +1031,6 @@
ScrollViewer.CanContentScroll="False"
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
SelectedItem="{Binding SelectedPlugin}"
- SelectionChanged="SelectedPluginChanged"
SnapsToDevicePixels="True"
Style="{DynamicResource PluginListStyle}">
@@ -1223,8 +1220,7 @@
Margin="0"
Padding="1"
VerticalAlignment="Stretch"
- Content="{Binding SettingControl}"
- SizeChanged="ItemSizeChanged" />
+ Content="{Binding SettingControl}" />
diff --git a/Flow.Launcher/SettingWindow.xaml.cs b/Flow.Launcher/SettingWindow.xaml.cs
index 19aa45e47..baee4825b 100644
--- a/Flow.Launcher/SettingWindow.xaml.cs
+++ b/Flow.Launcher/SettingWindow.xaml.cs
@@ -65,6 +65,7 @@ namespace Flow.Launcher
pluginStoreView = (CollectionView)CollectionViewSource.GetDefaultView(StoreListBox.ItemsSource);
pluginStoreView.Filter = PluginStoreFilter;
+
InitializePosition();
}
@@ -246,7 +247,6 @@ namespace Flow.Launcher
viewModel.UpdateApp(); // TODO: change to command
}
-
private void OnRequestNavigate(object sender, RequestNavigateEventArgs e)
{
API.OpenUrl(e.Uri.AbsoluteUri);
@@ -383,6 +383,7 @@ namespace Flow.Launcher
}
return false;
}
+
private bool PluginStoreFilter(object item)
{
if (string.IsNullOrEmpty(pluginStoreFilterTxb.Text))
@@ -415,6 +416,7 @@ namespace Flow.Launcher
pluginStoreView.Refresh();
}
}
+
private void PluginFilterTxb_OnKeyDown(object sender, KeyEventArgs e)
{
if (e.Key == Key.Enter)
@@ -426,21 +428,13 @@ namespace Flow.Launcher
if (e.Key == Key.Enter)
RefreshPluginStoreEventHandler(sender, e);
}
+
private void OnPluginSettingKeydown(object sender, KeyEventArgs e)
{
if ((Keyboard.Modifiers & ModifierKeys.Control) == ModifierKeys.Control && e.Key == Key.F)
pluginFilterTxb.Focus();
}
- private void ItemSizeChanged(object sender, SizeChangedEventArgs e)
- {
-
- }
-
- private void SelectedPluginChanged(object sender, SelectionChangedEventArgs e)
- {
-
- }
private void PluginStore_OnKeyDown(object sender, KeyEventArgs e)
{
if (e.Key == Key.F && (Keyboard.Modifiers & ModifierKeys.Control) != 0)
diff --git a/Flow.Launcher/ViewModel/PluginViewModel.cs b/Flow.Launcher/ViewModel/PluginViewModel.cs
index 38f2421a1..2294681b4 100644
--- a/Flow.Launcher/ViewModel/PluginViewModel.cs
+++ b/Flow.Launcher/ViewModel/PluginViewModel.cs
@@ -1,4 +1,4 @@
-using System.Windows;
+using System.Windows;
using System.Windows.Media;
using Flow.Launcher.Plugin;
using Flow.Launcher.Infrastructure.Image;
@@ -43,7 +43,13 @@ namespace Flow.Launcher.ViewModel
private Control _settingControl;
private bool _isExpanded;
- public Control SettingControl => IsExpanded ? _settingControl ??= PluginPair.Plugin is not ISettingProvider settingProvider ? new Control() : settingProvider.CreateSettingPanel() : null;
+ public Control SettingControl
+ => IsExpanded
+ ? _settingControl
+ ??= PluginPair.Plugin is not ISettingProvider settingProvider
+ ? new Control()
+ : settingProvider.CreateSettingPanel()
+ : null;
public Visibility ActionKeywordsVisibility => PluginPair.Metadata.ActionKeywords.Count == 1 ? Visibility.Visible : Visibility.Collapsed;
public string InitilizaTime => PluginPair.Metadata.InitTime + "ms";