Fix possible NPE in ConversationListFragment.

This commit is contained in:
Greyson Parrelli
2023-03-23 14:41:40 -04:00
parent aeb250cae1
commit 454e9a99fc

View File

@@ -984,7 +984,11 @@ public class ConversationListFragment extends MainFragment implements ActionMode
startupStopwatch.split("first-render");
startupStopwatch.stop(TAG);
mediaControllerOwner.getVoiceNoteMediaController().finishPostpone();
if (getParentFragment() != null) {
requireCallback().getSearchToolbar().get();
}
if (getContext() != null) {
ConversationFragment.prepare(getContext());
}