feat(profile): save note onHidden

This commit is contained in:
FineFindus 2023-12-23 11:27:07 +01:00
parent 3bd67f9ab1
commit 3c9efdbbf2
No known key found for this signature in database
GPG Key ID: 64873EE210FF8E6B
1 changed files with 7 additions and 7 deletions

View File

@ -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){