only show new posts button at home
This commit is contained in:
parent
8b0eddb8e1
commit
134a371263
|
@ -426,7 +426,7 @@ public class HomeTabFragment extends MastodonToolbarFragment implements Scrollab
|
|||
}
|
||||
|
||||
public void showNewPostsButton(){
|
||||
if(newPostsBtnShown)
|
||||
if(newPostsBtnShown || pager == null || pager.getCurrentItem() != 0)
|
||||
return;
|
||||
newPostsBtnShown=true;
|
||||
if(currentNewPostsAnim!=null){
|
||||
|
|
Loading…
Reference in New Issue