Browse Source

something something file path

legacy
Austin Huang 4 years ago
parent
commit
e141b17701
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 2
      app/src/main/java/awais/instagrabber/utils/Utils.java

2
app/src/main/java/awais/instagrabber/utils/Utils.java

@ -940,7 +940,7 @@ public final class Utils {
@NonNull @NonNull
private static File getDownloadSaveFile(final File finalDir, @NonNull final BasePostModel model, final String sliderPrefix) { private static File getDownloadSaveFile(final File finalDir, @NonNull final BasePostModel model, final String sliderPrefix) {
final String displayUrl = model.getDisplayUrl(); final String displayUrl = model.getDisplayUrl();
return new File(finalDir, model.getPostId() + '_' + model.getTimestamp() + sliderPrefix +
return new File(finalDir, model.getPostId() + '_' + model.getPosition() + sliderPrefix +
getExtensionFromModel(displayUrl, model)); getExtensionFromModel(displayUrl, model));
} }

Loading…
Cancel
Save