diff --git a/web/public/site.webmanifest b/web/public/site.webmanifest index e8e9a68..6ba810e 100644 --- a/web/public/site.webmanifest +++ b/web/public/site.webmanifest @@ -1,5 +1,5 @@ { - "name": "", + "name": "TorrServer", "short_name": "TorrServer", "icons": [ { diff --git a/web/src/components/DialogTorrentDetailsContent/Table/index.jsx b/web/src/components/DialogTorrentDetailsContent/Table/index.jsx index 8a15bb1..dd65182 100644 --- a/web/src/components/DialogTorrentDetailsContent/Table/index.jsx +++ b/web/src/components/DialogTorrentDetailsContent/Table/index.jsx @@ -28,6 +28,8 @@ const Table = memo( // if files in list is more then 1 and no season text detected by ptt.parse, show full name const shouldDisplayFullFileName = playableFileList.length > 1 && !fileHasEpisodeText + const isVlcUsed = JSON.parse(localStorage.getItem('isVlcUsed')) ?? true + return !playableFileList?.length ? ( 'No playable files in this torrent' ) : ( @@ -133,11 +135,19 @@ const Table = memo( {t('Preload')} - - - + {isVlcUsed ? ( + + + + ) : ( + + + + )}