[Perf] Middle Header: Do not render video avatar when opening chat
This commit is contained in:
parent
b7bf020eb4
commit
678d5278c8
@ -339,7 +339,7 @@ const MiddleHeader: FC<OwnProps & StateProps> = ({
|
|||||||
withFullInfo
|
withFullInfo
|
||||||
withMediaViewer
|
withMediaViewer
|
||||||
withUpdatingStatus
|
withUpdatingStatus
|
||||||
withVideoAvatar
|
withVideoAvatar={isReady}
|
||||||
noRtl
|
noRtl
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
@ -351,7 +351,7 @@ const MiddleHeader: FC<OwnProps & StateProps> = ({
|
|||||||
withMediaViewer
|
withMediaViewer
|
||||||
withFullInfo
|
withFullInfo
|
||||||
withUpdatingStatus
|
withUpdatingStatus
|
||||||
withVideoAvatar
|
withVideoAvatar={isReady}
|
||||||
noRtl
|
noRtl
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user