mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-01-30 19:34:45 +01:00
Fix menu item error in the navigation drawer.
This commit is contained in:
parent
c55f1a2c04
commit
9e1f4edf44
@ -439,6 +439,8 @@ public class NavigationDrawerRecyclerViewAdapter extends RecyclerView.Adapter<Re
|
|||||||
} else if (collapseAccountSection && collapsePostSection) {
|
} else if (collapseAccountSection && collapsePostSection) {
|
||||||
if (position > REDDIT_SECTION_ITEMS + 2) {
|
if (position > REDDIT_SECTION_ITEMS + 2) {
|
||||||
pseudoPosition += ACCOUNT_SECTION_ITEMS + POST_SECTION_ITEMS;
|
pseudoPosition += ACCOUNT_SECTION_ITEMS + POST_SECTION_ITEMS;
|
||||||
|
} else {
|
||||||
|
pseudoPosition += ACCOUNT_SECTION_ITEMS;
|
||||||
}
|
}
|
||||||
} else if (collapseRedditSection && collapsePostSection) {
|
} else if (collapseRedditSection && collapsePostSection) {
|
||||||
if (position > ACCOUNT_SECTION_ITEMS + 1) {
|
if (position > ACCOUNT_SECTION_ITEMS + 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user