From 09d4188d549dfdf4a1dd5375e64478543231361c Mon Sep 17 00:00:00 2001 From: sk Date: Mon, 9 Jan 2023 06:44:51 -0300 Subject: [PATCH] click "replying to" to scroll up closes #241 --- .../org/joinmastodon/android/fragments/ComposeFragment.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java index 3ff757f08..c8efe44b0 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java @@ -676,6 +676,10 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr replyText.setOnClickListener(v->{ scrollView.smoothScrollTo(0, 0); }); + replyText.setOnClickListener(v->{ + scrollView.smoothScrollTo(0, 0); + }); + ArrayList mentions=new ArrayList<>(); String ownID=AccountSessionManager.getInstance().getAccount(accountID).self.id;