feat(ProfileFragment): display toast when saving note
It can be quite unclear if the note has been saved. This adds a toast, to indicate that the profile note has been saved.
This commit is contained in:
parent
91cb616164
commit
134513babd
|
@ -468,6 +468,7 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
|
|||
public void onSuccess(Relationship result) {
|
||||
updateRelationship(result);
|
||||
invalidateOptionsMenu();
|
||||
Toast.makeText(getContext(), R.string.mo_personal_note_saved, Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
<string name="mo_settings_app_version" translatable="false">Moshidon v%1$s (%2$d)</string>
|
||||
|
||||
<string name="mo_personal_note">Add a note about this profile</string>
|
||||
<string name="mo_personal_note_saved">Note saved</string>
|
||||
<string name="mo_personal_note_confirm">Confirm changes to note</string>
|
||||
<string name="mo_personal_note_update_failed">Failed to save note</string>
|
||||
<string name="mo_settings_contribute">Contribute to Moshidon</string>
|
||||
|
|
Loading…
Reference in New Issue