[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
|
||||
withMediaViewer
|
||||
withUpdatingStatus
|
||||
withVideoAvatar
|
||||
withVideoAvatar={isReady}
|
||||
noRtl
|
||||
/>
|
||||
) : (
|
||||
@ -351,7 +351,7 @@ const MiddleHeader: FC<OwnProps & StateProps> = ({
|
||||
withMediaViewer
|
||||
withFullInfo
|
||||
withUpdatingStatus
|
||||
withVideoAvatar
|
||||
withVideoAvatar={isReady}
|
||||
noRtl
|
||||
/>
|
||||
)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user