1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 22:57:29 +00:00
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

View File

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