Skip to content

Commit 69c6368

Browse files
author
duyu
committed
index ++
1 parent 468e5d2 commit 69c6368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/rain/library/ui/PhotoPreviewActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,9 @@ public void onSuccess(File file, boolean success) {
309309
finish();
310310
}
311311
} else {
312-
index++;
313312
MediaData photo = selectPhotosInfo.get(index);
314313
photo.setCompressionPath(photo.getOriginalPath());
314+
index++;
315315
}
316316
}
317317
};

0 commit comments

Comments
 (0)