mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-21 06:26:10 +05:00
add ResponsiveMode option
This commit is contained in:
@@ -34,6 +34,7 @@ export default function SecondarySettingsComponent({ settings, inputForm }) {
|
||||
UploadRateLimit,
|
||||
ConnectionsLimit,
|
||||
PeersListenPort,
|
||||
ResponsiveMode,
|
||||
SslPort,
|
||||
SslCert,
|
||||
SslKey,
|
||||
@@ -200,6 +201,11 @@ export default function SecondarySettingsComponent({ settings, inputForm }) {
|
||||
label={t('SettingsDialog.EnableDebug')}
|
||||
labelPlacement='start'
|
||||
/>
|
||||
<FormControlLabel
|
||||
control={<Switch checked={ResponsiveMode} onChange={inputForm} id='ResponsiveMode' color='secondary' />}
|
||||
label={t('SettingsDialog.ResponsiveMode')}
|
||||
labelPlacement='start'
|
||||
/>
|
||||
<br />
|
||||
<InputLabel htmlFor='RetrackersMode'>{t('SettingsDialog.RetrackersMode')}</InputLabel>
|
||||
<Select
|
||||
|
||||
@@ -23,6 +23,7 @@ export default {
|
||||
UploadRateLimit: 0,
|
||||
ConnectionsLimit: 25,
|
||||
PeersListenPort: 0,
|
||||
ResponsiveMode: false,
|
||||
SslPort: 0,
|
||||
SslCert: '',
|
||||
SslKey: '',
|
||||
|
||||
Reference in New Issue
Block a user