Fix possible crash in conversation fragment startup.
This commit is contained in:
parent
fde0726500
commit
05d232beec
1 changed files with 3 additions and 1 deletions
|
@ -4045,7 +4045,9 @@ public class ConversationParentFragment extends Fragment
|
|||
|
||||
@Override
|
||||
public void onFirstRender() {
|
||||
requireActivity().supportStartPostponedEnterTransition();
|
||||
if (getActivity() != null) {
|
||||
requireActivity().supportStartPostponedEnterTransition();
|
||||
}
|
||||
voiceNoteMediaController.finishPostpone();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue