mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
Sort plugin and themes in setting dialog
This commit is contained in:
@@ -109,7 +109,7 @@ namespace Wox.Core.Plugin
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return plugins;
|
return plugins.OrderBy(o => o.Metadata.Name).ToList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ namespace Wox.Core.Theme
|
|||||||
.Where(filePath => filePath.EndsWith(".xaml") && !filePath.EndsWith("Base.xaml"))
|
.Where(filePath => filePath.EndsWith(".xaml") && !filePath.EndsWith("Base.xaml"))
|
||||||
.ToList());
|
.ToList());
|
||||||
}
|
}
|
||||||
return themes;
|
return themes.OrderBy(o => o).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
private string GetThemePath(string themeName)
|
private string GetThemePath(string themeName)
|
||||||
|
|||||||
Reference in New Issue
Block a user