Skip to content

Commit b92181f

Browse files
Remove logic that modifies settings
1 parent d3bae93 commit b92181f

File tree

1 file changed

+1
-5
lines changed
  • Plugins/Flow.Launcher.Plugin.Program/Programs

1 file changed

+1
-5
lines changed

Plugins/Flow.Launcher.Plugin.Program/Programs/UWP.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,7 @@ private PackageVersion GetPackageVersionFromManifest(XmlNode xmlRoot)
202202
public static Application[] All(Settings settings)
203203
{
204204
var support = SupportUWP();
205-
if (!support && settings.EnableUWP)
206-
{
207-
settings.EnableUWP = false;
208-
}
209-
if (settings.EnableUWP)
205+
if (support && settings.EnableUWP)
210206
{
211207
var applications = CurrentUserPackages().AsParallel().SelectMany(p =>
212208
{

0 commit comments

Comments
 (0)