mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Short circuit template UI process if doesn't exist
This commit is contained in:
parent
b67e815022
commit
388688e89c
1 changed files with 5 additions and 0 deletions
|
|
@ -36,6 +36,11 @@ namespace Flow.Launcher.Core.Plugin
|
|||
_storage = new JsonStorage<Dictionary<string, object>>(SettingPath);
|
||||
Settings = await _storage.LoadAsync();
|
||||
|
||||
if (Settings != null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
foreach (var (type, attributes) in Configuration.Body)
|
||||
{
|
||||
if (attributes.Name == null)
|
||||
|
|
|
|||
Loading…
Reference in a new issue