From 420233da148b271cb626a3e4c378f733ae268e53 Mon Sep 17 00:00:00 2001 From: FineFindus Date: Mon, 12 Aug 2024 07:16:15 +0200 Subject: [PATCH] fix(Profile): remove note text before hiding NoteTextField Fixes an issue, where if the NoteTextField was focussed and the note was hidden, the note would saved and reshown once the NoteTextField was hidden. --- .../org/joinmastodon/android/fragments/ProfileFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java index 042e2d46f..43f48482c 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java @@ -454,8 +454,8 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList } private void hidePrivateNote(){ - noteWrap.setVisibility(View.GONE); noteEdit.setText(null); + noteWrap.setVisibility(View.GONE); } private void savePrivateNote(String note){