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 cc54a86c3..24afe68cd 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java @@ -648,13 +648,13 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList if(pinnedPostsFragment.isAdded()) getChildFragmentManager().putFragment(outState, "pinnedPosts", pinnedPostsFragment); } -// -// @Override -// public void onHidden(){ -// if (relationship != null && !noteEdit.getText().toString().equals(relationship.note)){ -// savePrivateNote(noteEdit.getText().toString()); -// } -// } + + @Override + public void onHidden(){ + if (relationship != null && !noteEdit.getText().toString().equals(relationship.note)){ + savePrivateNote(noteEdit.getText().toString()); + } + } @Override public void onConfigurationChanged(Configuration newConfig){