Skip to content

Commit d024f8e

Browse files
committed
fix loading when no action keywords present for a plugin in userdata
1 parent 76159d6 commit d024f8e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Flow.Launcher.Infrastructure/UserSettings/PluginSettings.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ public void UpdatePluginSettings(List<PluginMetadata> metadatas)
3030
metadata.ActionKeywords = settings.ActionKeywords;
3131
metadata.ActionKeyword = settings.ActionKeywords[0];
3232
}
33+
else
34+
{
35+
metadata.ActionKeywords = new List<string>();
36+
metadata.ActionKeyword = string.Empty;
37+
}
3338
metadata.Disabled = settings.Disabled;
3439
metadata.Priority = settings.Priority;
3540
}

0 commit comments

Comments
 (0)