1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 14:47:29 +00:00

something something file path

This commit is contained in:
Austin Huang 2020-07-28 16:06:34 -04:00
parent 05f332bc07
commit e141b17701
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F

View File

@ -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));
} }