Make the button icon change
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
7d5fb5f041
commit
a150619d08
3 changed files with 14 additions and 5 deletions
|
|
@ -38,6 +38,7 @@ export const VideoTile = forwardRef(
|
|||
mediaRef,
|
||||
onOptionsPress,
|
||||
showOptions,
|
||||
localVolume,
|
||||
...rest
|
||||
},
|
||||
ref
|
||||
|
|
@ -86,7 +87,7 @@ export const VideoTile = forwardRef(
|
|||
styles.audioButton
|
||||
)}
|
||||
>
|
||||
<AudioButton onPress={onOptionsPress} />
|
||||
<AudioButton volume={localVolume} onPress={onOptionsPress} />
|
||||
</div>
|
||||
)}
|
||||
<video ref={mediaRef} playsInline disablePictureInPicture />
|
||||
|
|
|
|||
|
|
@ -82,6 +82,7 @@ export function VideoTileContainer({
|
|||
avatar={getAvatar && getAvatar(member, width, height)}
|
||||
onOptionsPress={onOptionsPress}
|
||||
showOptions={!item.callFeed.isLocal()}
|
||||
localVolume={localVolume}
|
||||
{...rest}
|
||||
/>
|
||||
{videoTileSettingsModalState.isOpen && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue