mirror of
https://github.com/Docile-Alligator/Infinity-For-Reddit.git
synced 2026-03-02 05:47:56 +00:00
Fix menu item error in the navigation drawer.
This commit is contained in:
@ -439,6 +439,8 @@ public class NavigationDrawerRecyclerViewAdapter extends RecyclerView.Adapter<Re
|
||||
} else if (collapseAccountSection && collapsePostSection) {
|
||||
if (position > REDDIT_SECTION_ITEMS + 2) {
|
||||
pseudoPosition += ACCOUNT_SECTION_ITEMS + POST_SECTION_ITEMS;
|
||||
} else {
|
||||
pseudoPosition += ACCOUNT_SECTION_ITEMS;
|
||||
}
|
||||
} else if (collapseRedditSection && collapsePostSection) {
|
||||
if (position > ACCOUNT_SECTION_ITEMS + 1) {
|
||||
|
||||
Reference in New Issue
Block a user