From e141b17701f1056e807aefc63642131cf5b3c2aa Mon Sep 17 00:00:00 2001 From: Austin Huang Date: Tue, 28 Jul 2020 16:06:34 -0400 Subject: [PATCH] something something file path --- app/src/main/java/awais/instagrabber/utils/Utils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/awais/instagrabber/utils/Utils.java b/app/src/main/java/awais/instagrabber/utils/Utils.java index 68ae21b8..4d93b7c8 100755 --- a/app/src/main/java/awais/instagrabber/utils/Utils.java +++ b/app/src/main/java/awais/instagrabber/utils/Utils.java @@ -940,7 +940,7 @@ public final class Utils { @NonNull private static File getDownloadSaveFile(final File finalDir, @NonNull final BasePostModel model, final String sliderPrefix) { 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)); }