special folders

This commit is contained in:
Paul Schneider 2017-03-09 22:20:19 +01:00
commit 2073a2f461
2 changed files with 15 additions and 8 deletions

View file

@ -505,11 +505,7 @@ namespace ZicMoove.Droid
get
{
if (imagesFolder != null) return imagesFolder;
var appData =
System.Environment.GetFolderPath(System.Environment.SpecialFolder.ApplicationData);
imagesFolder = System.IO.Path.Combine(appData, Constants.ImagePath);
DirectoryInfo di = new DirectoryInfo(imagesFolder);
if (!di.Exists) di.Create();
imagesFolder = Constants.ImagePath.GetSpecialFolder();
return imagesFolder;
}
}