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 a15630a526..b25c0e4053 100644
--- a/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java
+++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java
@@ -287,11 +287,10 @@ public View onCreateContentView(LayoutInflater inflater, ViewGroup container, Bu
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()){
@@ -469,6 +468,7 @@ private void savePrivateNote(String note){
public void onSuccess(Relationship result) {
updateRelationship(result);
invalidateOptionsMenu();
+ Toast.makeText(getContext(), R.string.mo_personal_note_saved, Toast.LENGTH_SHORT).show();
}
@Override
diff --git a/mastodon/src/main/res/values/strings_mo.xml b/mastodon/src/main/res/values/strings_mo.xml
index f529ec0165..4881f8d069 100644
--- a/mastodon/src/main/res/values/strings_mo.xml
+++ b/mastodon/src/main/res/values/strings_mo.xml
@@ -16,6 +16,7 @@
Moshidon v%1$s (%2$d)
Add a note about this profile
+ Note saved
Confirm changes to note
Failed to save note
Contribute to Moshidon