Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearfog committed Dec 14, 2023
1 parent 2b15c58 commit db0eced
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ private void initialize() {
proxyWarning = settings.getBoolean(PROXY_WARNING, true);
publicTimeline = settings.getString(PUBLIC_TIMELINE, TIMELINE_COMBINED);
showAllAnnouncements = settings.getBoolean(ANNOUNCEMENTS_SHOW_ALL, false);
chrologicalTimeline = settings.getBoolean(CHRONOLOGICAL_TIMELINE, true);
chrologicalTimeline = settings.getBoolean(CHRONOLOGICAL_TIMELINE, false);
proxyHost = settings.getString(PROXY_ADDR, "");
proxyPort = settings.getString(PROXY_PORT, "");
proxyUser = settings.getString(PROXY_USER, "");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ protected boolean isRefreshing() {
*/
protected void setAdapter(Adapter<? extends ViewHolder> adapter, boolean reverse) {
layoutManager.setReverseLayout(reverse);
layoutManager.setStackFromEnd(reverse);
list.setAdapter(adapter);
}

Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/fragment_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/fragment_list"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
android:layout_height="match_parent" />

</LinearLayout>

</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

0 comments on commit db0eced

Please sign in to comment.