Fix normal preview index error
This commit is contained in:
1 parent
0025c76573
commit
951e7323e3
1 file changed
+1
-1
@@ -256,7 +256,7 @@ public class NormalPreviewSet extends PreviewSet {
|
||||
int index2 = imageUrl.lastIndexOf('.');
|
||||
|
||||
try {
|
||||
imageIndex = Integer.parseInt(imageUrl.substring(index1 + 1, index2)) - 1;
|
||||
imageIndex = Integer.parseInt(imageUrl.substring(index1 + 1, index2));
|
||||
} catch (Exception e) {
|
||||
Log.w("Can't get normal preview index", e);
|
||||
imageIndex = -1;
|
||||
|
||||
Reference in new issue
Block a user