feat(ui): click on torrent size opens torrent files
This commit is contained in:
parent
8e4940ec52
commit
79f23d00bd
@ -168,6 +168,14 @@ const TorrentInformation = (props) => {
|
||||
id="torrentSizeId"
|
||||
primaryText={__('Torrent Size')}
|
||||
secondaryText={formatBytes(torrent.size)}
|
||||
onClick={() => {
|
||||
if(!props.parent)
|
||||
return
|
||||
|
||||
props.parent.setState({
|
||||
value: 'files'
|
||||
})
|
||||
}}
|
||||
/>
|
||||
<ListItem
|
||||
// leftAvatar={<Avatar icon={<EditorInsertChart />} backgroundColor={yellow600} />}
|
||||
|
Loading…
Reference in New Issue
Block a user