remove debug statements

This commit is contained in:
sk
2023-01-16 17:29:27 +01:00
parent 2f3c7dc8f1
commit e222559bde

View File

@@ -248,8 +248,6 @@ public class HomeTabFragment extends MastodonToolbarFragment implements Scrollab
timelineTitle.setVisibility(View.VISIBLE); timelineTitle.setVisibility(View.VISIBLE);
} }
showNewPostsButton();
ViewTreeObserver vto = toolbar.getViewTreeObserver(); ViewTreeObserver vto = toolbar.getViewTreeObserver();
if (vto.isAlive()) { if (vto.isAlive()) {
vto.addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() { vto.addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() {
@@ -392,7 +390,6 @@ public class HomeTabFragment extends MastodonToolbarFragment implements Scrollab
} }
public void hideNewPostsButton(){ public void hideNewPostsButton(){
if (true) return;
if(!newPostsBtnShown) if(!newPostsBtnShown)
return; return;
newPostsBtnShown=false; newPostsBtnShown=false;