This commit is contained in:
Feross Aboukhadijeh
2019-08-14 17:52:55 -07:00
parent 44e2f366ce
commit 6f1a94359f
2 changed files with 6 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ class PreferencesPage extends React.Component {
<Checkbox <Checkbox
className='control' className='control'
checked={!this.props.state.saved.prefs.openExternalPlayer} checked={!this.props.state.saved.prefs.openExternalPlayer}
label={'Play torrent media files using WebTorrent'} label='Play torrent media files using WebTorrent'
onCheck={this.handleOpenExternalPlayerChange} onCheck={this.handleOpenExternalPlayerChange}
/> />
</Preference> </Preference>
@@ -74,7 +74,7 @@ class PreferencesPage extends React.Component {
<Checkbox <Checkbox
className='control' className='control'
checked={this.props.state.saved.prefs.highestPlaybackPriority} checked={this.props.state.saved.prefs.highestPlaybackPriority}
label={'Highest Playback Priority'} label='Highest Playback Priority'
onCheck={this.handleHighestPlaybackPriorityChange} onCheck={this.handleHighestPlaybackPriorityChange}
/> />
<p>Pauses all active torrents to allow playback to use all of the available bandwidth.</p> <p>Pauses all active torrents to allow playback to use all of the available bandwidth.</p>
@@ -121,7 +121,7 @@ class PreferencesPage extends React.Component {
<Checkbox <Checkbox
className='control' className='control'
checked={this.props.state.saved.prefs.autoAddTorrents} checked={this.props.state.saved.prefs.autoAddTorrents}
label={'Watch for new .torrent files and add them immediately'} label='Watch for new .torrent files and add them immediately'
onCheck={(e, value) => { this.handleAutoAddTorrentsChange(e, value) }} onCheck={(e, value) => { this.handleAutoAddTorrentsChange(e, value) }}
/> />
</Preference> </Preference>
@@ -204,7 +204,7 @@ class PreferencesPage extends React.Component {
<Checkbox <Checkbox
className='control' className='control'
checked={this.props.state.saved.prefs.startup} checked={this.props.state.saved.prefs.startup}
label={'Open WebTorrent on startup'} label='Open WebTorrent on startup'
onCheck={this.handleStartupChange} onCheck={this.handleStartupChange}
/> />
</Preference> </Preference>
@@ -217,7 +217,7 @@ class PreferencesPage extends React.Component {
<Checkbox <Checkbox
className='control' className='control'
checked={this.props.state.saved.prefs.soundNotifications} checked={this.props.state.saved.prefs.soundNotifications}
label={'Enable sounds'} label='Enable sounds'
onCheck={this.handleSoundNotificationsChange} onCheck={this.handleSoundNotificationsChange}
/> />
</Preference> </Preference>

View File

@@ -234,7 +234,7 @@ module.exports = class TorrentList extends React.Component {
<i <i
key='play-button' key='play-button'
title='Start streaming' title='Start streaming'
className={'icon play'} className='icon play'
onClick={dispatcher('playFile', infoHash)} onClick={dispatcher('playFile', infoHash)}
> >
play_circle_outline play_circle_outline