mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Update story notifications to match spec.
This commit is contained in:
committed by
Greyson Parrelli
parent
bd5907ea04
commit
2270dfaf21
@@ -37,7 +37,12 @@ public class PagingMappingAdapter<Key> extends MappingAdapter {
|
||||
if (pagingController != null) {
|
||||
pagingController.onDataNeededAroundIndex(position);
|
||||
}
|
||||
return super.getItem(position);
|
||||
|
||||
if (position > 0 && position < super.getCurrentList().size()) {
|
||||
return super.getItem(position);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user