share settings, UI adjust
This commit is contained in:
@@ -248,6 +248,16 @@ namespace Pixiview.Utils
|
||||
return File.Exists(file);
|
||||
}
|
||||
|
||||
public static string GetPreviewImagePath(string url)
|
||||
{
|
||||
var file = Path.Combine(PersonalFolder, previewFolder, Path.GetFileName(url));
|
||||
if (File.Exists(file))
|
||||
{
|
||||
return file;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static ImageSource LoadImage(string url, string working, string folder)
|
||||
{
|
||||
var file = Path.Combine(working, folder, Path.GetFileName(url));
|
||||
|
||||
Reference in New Issue
Block a user