set pivot of timeline title

closes sk22#296
This commit is contained in:
sk
2023-01-16 18:00:43 +01:00
parent 85799a7d93
commit 9722cd9e12

View File

@@ -266,6 +266,8 @@ public class HomeTabFragment extends MastodonToolbarFragment implements Scrollab
switcher.setPivotX(V.dp(28)); // padding + half of icon
switcher.setPivotY(switcher.getHeight() / 2f);
timelineTitle.setPivotX(0);
timelineTitle.setPivotY(timelineTitle.getHeight() / 2f);
}
});
}