mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-01-07 00:20:08 +02:00
Fix issue crash with PixelFed
This commit is contained in:
parent
9c64ff054c
commit
df66bfcfdc
1 changed files with 6 additions and 2 deletions
|
@ -640,8 +640,12 @@ public class FragmentMastodonTimeline extends Fragment {
|
||||||
timelinesVM.getMarker(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, markers).observe(getViewLifecycleOwner(), marker -> {
|
timelinesVM.getMarker(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, markers).observe(getViewLifecycleOwner(), marker -> {
|
||||||
if (marker != null) {
|
if (marker != null) {
|
||||||
Marker.MarkerContent markerContent = marker.home;
|
Marker.MarkerContent markerContent = marker.home;
|
||||||
max_id = markerContent.last_read_id;
|
if (markerContent != null) {
|
||||||
min_id = markerContent.last_read_id;
|
max_id = markerContent.last_read_id;
|
||||||
|
min_id = markerContent.last_read_id;
|
||||||
|
} else {
|
||||||
|
max_id = null;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
max_id = null;
|
max_id = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue