[android] Fix the title after editing the name of a boomark.

Resolves #10005

Signed-off-by: Alexey Krasilnikov <alexey@krasilnikov.me>
This commit is contained in:
Alexey Krasilnikov 2025-01-08 22:59:38 +07:00 committed by Viktor Havaka
parent e08001a769
commit b27c06a9d0

View file

@ -810,7 +810,7 @@ public class BookmarksListFragment extends BaseMwmRecyclerFragment<ConcatAdapter
public void onActivityResult(int requestCode, int resultCode, Intent data)
{
super.onActivityResult(requestCode, resultCode, data);
getAdapter().notifyDataSetChanged();
getBookmarkListAdapter().notifyDataSetChanged();
ActionBar actionBar = ((AppCompatActivity) requireActivity()).getSupportActionBar();
actionBar.setTitle(mCategoryDataSource.getData().getName());
}