remove debug statements

This commit is contained in:
sk
2023-01-16 17:29:27 +01:00
committed by LucasGGamerM
parent 38e429f738
commit bd2d56b953

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;