refactor(ProfileFragment): remove duplicated InputType setting
The NoteEdit InputType is already set in the UI file.
This commit is contained in:
parent
c26df5762f
commit
91cb616164
|
@ -287,11 +287,10 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
|
|||
noteEdit.setOnFocusChangeListener((v, hasFocus)->{
|
||||
if(hasFocus){
|
||||
hideFab();
|
||||
noteEdit.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_MULTI_LINE | InputType.TYPE_TEXT_FLAG_CAP_SENTENCES);
|
||||
}else{
|
||||
showFab();
|
||||
savePrivateNote(noteEdit.getText().toString());
|
||||
return;
|
||||
}
|
||||
showFab();
|
||||
savePrivateNote(noteEdit.getText().toString());
|
||||
});
|
||||
|
||||
FrameLayout sizeWrapper=new FrameLayout(getActivity()){
|
||||
|
|
Loading…
Reference in New Issue