loadMoreHeadlines: use correct offsets for starred vfeed in adaptive mode
This commit is contained in:
parent
389ae94a40
commit
d38cd41253
|
@ -35,7 +35,8 @@ function loadMoreHeadlines() {
|
|||
offset = unread_in_buffer;
|
||||
} else if (_search_query) {
|
||||
offset = num_all;
|
||||
} else if (view_mode == "adaptive") {
|
||||
} else if (view_mode == "adaptive" && !(getActiveFeedId() == -1 && !activeFeedIsCat())) {
|
||||
// ^ starred feed shows both unread & read articles in adaptive mode
|
||||
offset = num_unread > 0 ? unread_in_buffer : num_all;
|
||||
} else {
|
||||
offset = num_all;
|
||||
|
|
Loading…
Reference in New Issue