mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-01-30 10:55:06 +01:00
bug fix
This commit is contained in:
parent
2b15c58ece
commit
db0eced8da
@ -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, "");
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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>
|
Loading…
x
Reference in New Issue
Block a user