|
@@ -385,10 +385,10 @@ public class ImageIterator : IAsyncDisposable
|
|
public void Add(int index, ImageModel imageModel) =>
|
|
public void Add(int index, ImageModel imageModel) =>
|
|
PreLoader.Add(index, ImagePaths, imageModel);
|
|
PreLoader.Add(index, ImagePaths, imageModel);
|
|
|
|
|
|
- public void Add(string file, ImageModel imageModel)
|
|
|
|
|
|
+ public bool Add(string file, ImageModel imageModel)
|
|
{
|
|
{
|
|
file = file.Replace('/', '\\');
|
|
file = file.Replace('/', '\\');
|
|
- PreLoader.Add(ImagePaths.IndexOf(file), ImagePaths, imageModel);
|
|
|
|
|
|
+ return PreLoader.Add(ImagePaths.IndexOf(file), ImagePaths, imageModel);
|
|
}
|
|
}
|
|
|
|
|
|
public PreLoadValue? GetPreLoadValue(int index)
|
|
public PreLoadValue? GetPreLoadValue(int index)
|