click "replying to" to scroll up

closes #241
This commit is contained in:
sk
2023-01-09 06:44:51 -03:00
committed by LucasGGamerM
parent 9bd4433942
commit f157313d9a
2 changed files with 6 additions and 4 deletions

View File

@@ -651,6 +651,9 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr
replyText.setText(getString(R.string.in_reply_to, replyTo.account.displayName));
replyText.setContentDescription(getString(R.string.in_reply_to, replyTo.account.displayName) + ". " + getString(R.string.post_visibility) + ": " + UiUtils.getVisibilityText(replyTo));
replyText.setOnClickListener(v->{
scrollView.smoothScrollTo(0, 0);
});
ArrayList<String> mentions=new ArrayList<>();
String ownID=AccountSessionManager.getInstance().getAccount(accountID).self.id;