aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/adapters/NavigationDrawerRecyclerViewAdapter.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/NavigationDrawerRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/NavigationDrawerRecyclerViewAdapter.java
index 664f2689..bf9dea5b 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/NavigationDrawerRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/NavigationDrawerRecyclerViewAdapter.java
@@ -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) {