diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversationlist/ConversationListFragment.java b/app/src/main/java/org/thoughtcrime/securesms/conversationlist/ConversationListFragment.java index e9ef72e899..7ce4c6e7c3 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversationlist/ConversationListFragment.java +++ b/app/src/main/java/org/thoughtcrime/securesms/conversationlist/ConversationListFragment.java @@ -984,7 +984,11 @@ public class ConversationListFragment extends MainFragment implements ActionMode startupStopwatch.split("first-render"); startupStopwatch.stop(TAG); mediaControllerOwner.getVoiceNoteMediaController().finishPostpone(); - requireCallback().getSearchToolbar().get(); + + if (getParentFragment() != null) { + requireCallback().getSearchToolbar().get(); + } + if (getContext() != null) { ConversationFragment.prepare(getContext()); }