mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 12:09:18 +08:00
Sort plugin and themes in setting dialog
This commit is contained in:
parent
f4904e06c8
commit
c4ca06d5e5
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user