1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-08 15:57:29 +00:00

remove excessive margin, refresh feed anew, closes #595

This commit is contained in:
Austin Huang 2021-01-15 11:13:36 -05:00
parent 8e3d0af9d3
commit 8b81b115f0
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
3 changed files with 2 additions and 2 deletions

View File

@ -289,6 +289,7 @@ public class PostsRecyclerView extends RecyclerView {
lazyLoader.resetState();
}
if (postFetcher != null) {
mediaViewModel.getList().postValue(Collections.emptyList());
postFetcher.reset();
postFetcher.fetch();
}

View File

@ -135,7 +135,7 @@ public final class DownloadUtils {
final String postId,
final String sliderPostfix,
final String displayUrl) {
final String fileName = postId + sliderPostfix + "." + getFileExtensionFromUrl(displayUrl);
final String fileName = postId + sliderPostfix + getFileExtensionFromUrl(displayUrl);
return new File(finalDir, fileName);
}

View File

@ -9,7 +9,6 @@
android:id="@+id/story_container"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginTop="?attr/actionBarSize"
android:layout_weight="1"
app:layout_constraintBottom_toTopOf="@id/storiesList"
app:layout_constraintEnd_toEndOf="parent"