fix(profile-note): add noteEdit must not be empty before hiding the note button
This commit is contained in:
@@ -957,7 +957,7 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
|
|||||||
InputMethodManager imm=getActivity().getSystemService(InputMethodManager.class);
|
InputMethodManager imm=getActivity().getSystemService(InputMethodManager.class);
|
||||||
imm.showSoftInput(noteEdit, 0);
|
imm.showSoftInput(noteEdit, 0);
|
||||||
}, 100);
|
}, 100);
|
||||||
}else if(relationship.note.isEmpty()){
|
}else if(relationship.note.isEmpty() && noteEdit.getText().toString().isEmpty()){
|
||||||
hidePrivateNote();
|
hidePrivateNote();
|
||||||
noteEdit.clearFocus();
|
noteEdit.clearFocus();
|
||||||
noteEdit.postDelayed(()->{
|
noteEdit.postDelayed(()->{
|
||||||
|
|||||||
Reference in New Issue
Block a user