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.
This commit is contained in:
FineFindus
2024-08-12 07:16:15 +02:00
parent 78ec24ff0c
commit 420233da14

View File

@@ -454,8 +454,8 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
} }
private void hidePrivateNote(){ private void hidePrivateNote(){
noteWrap.setVisibility(View.GONE);
noteEdit.setText(null); noteEdit.setText(null);
noteWrap.setVisibility(View.GONE);
} }
private void savePrivateNote(String note){ private void savePrivateNote(String note){