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
|
@Override
|
||||||
public void onFirstRender() {
|
public void onFirstRender() {
|
||||||
|
if (getActivity() != null) {
|
||||||
requireActivity().supportStartPostponedEnterTransition();
|
requireActivity().supportStartPostponedEnterTransition();
|
||||||
|
}
|
||||||
voiceNoteMediaController.finishPostpone();
|
voiceNoteMediaController.finishPostpone();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue