Renamed radio to audio sharing

This commit is contained in:
Mitchell McCaffrey
2020-10-17 16:17:38 +11:00
parent 2be9b5ad20
commit 63a62391dc
3 changed files with 9 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ function StartStreamModal({
<Modal isOpen={isOpen} onRequestClose={onRequestClose}>
<Box>
<Label pt={2} pb={1}>
Radio (experimental)
Audio Sharing (experimental)
</Label>
<Text as="p" mb={2} variant="caption">
Share your computers audio with the party
@@ -28,12 +28,12 @@ function StartStreamModal({
<Flex py={2}>
{isSupported && !stream && (
<Button sx={{ flexGrow: 1 }} onClick={onStreamStart}>
Start Radio
Start Sharing
</Button>
)}
{isSupported && stream && (
<Button sx={{ flexGrow: 1 }} onClick={() => onStreamEnd(stream)}>
Stop Radio
Stop Sharing
</Button>
)}
</Flex>