This commit is contained in:
Austin Huang 2021-05-18 15:39:24 -04:00
commit bedae1804f
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with 4 additions and 2 deletions

View File

@ -458,8 +458,10 @@ public class FeedFragment extends Fragment implements SwipeRefreshLayout.OnRefre
}
public void scrollToTop() {
binding.feedRecyclerView.smoothScrollToPosition(0);
// binding.storiesContainer.setExpanded(true);
if (binding != null) {
binding.feedRecyclerView.smoothScrollToPosition(0);
// binding.storiesContainer.setExpanded(true);
}
}
private boolean isSafeToNavigate(final NavController navController) {