Skip to content

Commit

Permalink
fix(profile-note): add noteEdit must not be empty before hiding the n…
Browse files Browse the repository at this point in the history
…ote button
  • Loading branch information
LucasGGamerM committed Dec 23, 2023
1 parent 2efb79f commit f9f863e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ public void onError(ErrorResponse error){
InputMethodManager imm=getActivity().getSystemService(InputMethodManager.class);
imm.showSoftInput(noteEdit, 0);
}, 100);
}else if(relationship.note.isEmpty()){
}else if(relationship.note.isEmpty() && noteEdit.getText().toString().isEmpty()){
hidePrivateNote();
noteEdit.clearFocus();
noteEdit.postDelayed(()->{
Expand Down

0 comments on commit f9f863e

Please sign in to comment.