added poster search in add torrent dialog

This commit is contained in:
Daniel Shleifman
2021-06-08 09:31:39 +03:00
parent a6716ef364
commit 7eb3ad8946
5 changed files with 313 additions and 37 deletions

View File

@@ -17,8 +17,8 @@ export default function UploadDialog() {
}
return (
<div>
<label htmlFor='raised-button-file'>
<input onChange={handleCapture} accept='*/*' type='file' style={{ display: 'none' }} id='raised-button-file' />
<label htmlFor='upload-file'>
<input onChange={handleCapture} accept='.torrent' type='file' style={{ display: 'none' }} id='upload-file' />
<ListItem button variant='raised' type='submit' component='span' key={t('UploadFile')}>
<ListItemIcon>