Remove variable and use returned dictionary directly

This commit is contained in:
SysC0mp 2020-05-03 18:05:01 +02:00
parent 64de0ceef3
commit cfdbd19d99

View file

@ -167,8 +167,7 @@ namespace Flow.Launcher.Plugin.Folder
{
_envStringPaths = new Dictionary<string, string>();
var specialPaths = System.Environment.GetEnvironmentVariables();
foreach (DictionaryEntry special in specialPaths)
foreach (DictionaryEntry special in Environment.GetEnvironmentVariables())
{
if (Directory.Exists(special.Value.ToString()))
{