This commit is contained in:
nuclearfog 2023-12-14 23:48:06 +01:00
parent 2b15c58ece
commit db0eced8da
No known key found for this signature in database
GPG Key ID: 43E45B82006BC9D5
3 changed files with 4 additions and 2 deletions

View File

@ -1059,7 +1059,7 @@ public class GlobalSettings {
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, "");

View File

@ -158,6 +158,7 @@ public abstract class ListFragment extends Fragment implements OnRefreshListener
*/
protected void setAdapter(Adapter<? extends ViewHolder> adapter, boolean reverse) {
layoutManager.setReverseLayout(reverse);
layoutManager.setStackFromEnd(reverse);
list.setAdapter(adapter);
}

View File

@ -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>