Skip to content

Commit 91ada37

Browse files
committed
Merge branch 'bug_1269' of https://github.com/nachmore/Flow.Launcher into bug_1269
2 parents ebbd1da + f96cda1 commit 91ada37

File tree

5 files changed

+41
-12
lines changed

5 files changed

+41
-12
lines changed

Flow.Launcher.Core/Plugin/JsonPRCModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@ public class JsonRPCResult : Result
9393

9494
public Dictionary<string, object> SettingsChange { get; set; }
9595
}
96-
}
96+
}

Flow.Launcher.Core/Resource/Theme.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,13 @@ public bool ChangeTheme(string theme)
8585

8686
Settings.Theme = theme;
8787

88+
// reload all resources even if the theme itself hasn't changed in order to pickup changes
89+
// to things like fonts
90+
UpdateResourceDictionary(GetResourceDictionary());
91+
8892
//always allow re-loading default theme, in case of failure of switching to a new theme from default theme
8993
if (_oldTheme != theme || theme == defaultTheme)
9094
{
91-
UpdateResourceDictionary(GetResourceDictionary());
9295
_oldTheme = Path.GetFileNameWithoutExtension(_oldResource.Source.AbsolutePath);
9396
}
9497

Flow.Launcher/SettingWindow.xaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,7 @@
915915
Padding="0,0,0,0"
916916
Background="{DynamicResource Color01B}">
917917
<ListBox
918+
Name="Plugins"
918919
Width="Auto"
919920
Margin="5,0,0,0"
920921
Padding="0,0,7,0"
@@ -926,8 +927,7 @@
926927
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
927928
SelectedItem="{Binding SelectedPlugin}"
928929
SelectionChanged="SelectedPluginChanged"
929-
SnapsToDevicePixels="True"
930-
Name="Plugins">
930+
SnapsToDevicePixels="True">
931931
<ListBox.ItemsPanel>
932932
<ItemsPanelTemplate>
933933
<StackPanel Margin="0,0,0,18" />
@@ -1116,8 +1116,8 @@
11161116
Margin="0"
11171117
Padding="1"
11181118
VerticalAlignment="Stretch"
1119-
Content="{Binding SettingControl}"
1120-
SizeChanged="ItemSizeChanged"/>
1119+
Content="{Binding SettingControl}"
1120+
SizeChanged="ItemSizeChanged" />
11211121
</StackPanel>
11221122

11231123
<StackPanel>
@@ -1127,8 +1127,7 @@
11271127
VerticalAlignment="Center"
11281128
BorderThickness="0,1,0,0"
11291129
CornerRadius="0"
1130-
Style="{DynamicResource SettingGroupBox}"
1131-
Visibility="{Binding ActionKeywordsVisibility}">
1130+
Style="{DynamicResource SettingGroupBox}">
11321131
<ItemsControl Style="{DynamicResource SettingGrid}">
11331132
<StackPanel
11341133
Margin="0,0,-14,0"

Flow.Launcher/ViewModel/SettingWindowViewModel.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,13 @@ public bool AutoUpdates
6060
Settings.AutoUpdates = value;
6161

6262
if (value)
63+
{
6364
UpdateApp();
65+
SetStartup();
66+
} else
67+
{
68+
RemoveStartup();
69+
}
6470
}
6571
}
6672

README.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,13 @@ Dedicated to making your workflow flow more seamless. Search everything from app
3838
<img src="https://user-images.githubusercontent.com/6903107/144858082-8b654daf-60fb-4ee6-89b2-6183b73510d1.png" width="100%">
3939

4040
<h4 align="center">
41-
<a href="#Getting-Started">Getting Started</a> • <a href="#Features">Features</a> • <a href="#Plugins">Plugins</a> •
42-
<a href="#Hotkeys">Hotkeys</a> •
43-
<a href="#QuestionsSuggestions">Questions/Suggestions</a> •
44-
<a href="#Development">Development</a> •
41+
<a href="#-getting-started">Getting Started</a> •
42+
<a href="#-features">Features</a> •
43+
<a href="#-plugins">Plugins</a> •
44+
<a href="#%EF%B8%8F-hotkeys">Hotkeys</a> •
45+
<a href="#sponsors">Sponsors</a> •
46+
<a href="#-questionssuggestions">Questions/Suggestions</a> •
47+
<a href="#development">Development</a> •
4548
<a href="https://flowlauncher.com/docs">Docs</a>
4649
</h4>
4750

@@ -262,10 +265,28 @@ And you can download <a href="https://github.com/Flow-Launcher/Flow.Launcher/dis
262265

263266
<img src="https://user-images.githubusercontent.com/6903107/144858082-8b654daf-60fb-4ee6-89b2-6183b73510d1.png" width="100%">
264267

268+
## Sponsors
269+
270+
<p align="center">
271+
<a href="https://appwrite.io">
272+
<img src='https://appwrite.io/images-ee/press/logo-1.svg' width="25%"/>
273+
</a>
274+
</p>
275+
276+
<p align="left">
277+
<a href="https://dev.to/appwrite/appwrite-loves-open-source-why-i-chose-to-support-flow-launcher-54pj">
278+
:sparkles:<i>Why I Chose to Support Flow-Launcher</i>:sparkles:
279+
</a>
280+
</p>
281+
282+
<img src="https://user-images.githubusercontent.com/6903107/144858082-8b654daf-60fb-4ee6-89b2-6183b73510d1.png" width="100%">
283+
265284
## ❔ Questions/Suggestions
266285

267286
Yes please, let us know in the [Q&A](https://github.com/Flow-Launcher/Flow.Launcher/discussions/categories/q-a) section. **Join our community on [Discord](https://discord.gg/AvgAQgh)!**
268287

288+
<img src="https://user-images.githubusercontent.com/6903107/144858082-8b654daf-60fb-4ee6-89b2-6183b73510d1.png" width="100%">
289+
269290
## Development
270291

271292
### Contributing

0 commit comments

Comments
 (0)