diff --git a/app/src/main/java/awais/instagrabber/fragments/main/ProfileFragment.java b/app/src/main/java/awais/instagrabber/fragments/main/ProfileFragment.java
index 93f27ed4..17dfa964 100644
--- a/app/src/main/java/awais/instagrabber/fragments/main/ProfileFragment.java
+++ b/app/src/main/java/awais/instagrabber/fragments/main/ProfileFragment.java
@@ -343,7 +343,6 @@ public class ProfileFragment extends Fragment implements SwipeRefreshLayout.OnRe
}
}
if (username == null || !username.equals(this.username)) {
- fragmentActivity.setCollapsingView(profileDetailsBinding.getRoot());
shouldRefresh = true;
return root;
}
diff --git a/app/src/main/res/layout/fragment_collection_posts.xml b/app/src/main/res/layout/fragment_collection_posts.xml
index 4d82bbe3..fe8cef36 100644
--- a/app/src/main/res/layout/fragment_collection_posts.xml
+++ b/app/src/main/res/layout/fragment_collection_posts.xml
@@ -15,6 +15,7 @@
android:id="@+id/collapsing_toolbar_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ app:contentScrim="?attr/toolbarColor"
app:layout_scrollFlags="scroll|exitUntilCollapsed">
diff --git a/app/src/main/res/layout/fragment_topic_posts.xml b/app/src/main/res/layout/fragment_topic_posts.xml
index 4d82bbe3..fe8cef36 100644
--- a/app/src/main/res/layout/fragment_topic_posts.xml
+++ b/app/src/main/res/layout/fragment_topic_posts.xml
@@ -15,6 +15,7 @@
android:id="@+id/collapsing_toolbar_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ app:contentScrim="?attr/toolbarColor"
app:layout_scrollFlags="scroll|exitUntilCollapsed">