diff --git a/frontend/src/Settings/UI/UISettings.js b/frontend/src/Settings/UI/UISettings.js index babac6059..71356a5f0 100644 --- a/frontend/src/Settings/UI/UISettings.js +++ b/frontend/src/Settings/UI/UISettings.js @@ -10,7 +10,6 @@ import Form from 'Components/Form/Form'; import FormGroup from 'Components/Form/FormGroup'; import FormLabel from 'Components/Form/FormLabel'; import FormInputGroup from 'Components/Form/FormInputGroup'; -import styles from './UISettings.css'; export const firstDayOfWeekOptions = [ { key: 0, value: 'Sunday' }, @@ -174,51 +173,6 @@ class UISettings extends Component { {...settings.enableColorImpairedMode} /> - - - Expand Items by Default -
- - - - - - - - - -
-
} diff --git a/src/NzbDrone.Core/Configuration/ConfigService.cs b/src/NzbDrone.Core/Configuration/ConfigService.cs index 279aa9dd6..382e265b2 100644 --- a/src/NzbDrone.Core/Configuration/ConfigService.cs +++ b/src/NzbDrone.Core/Configuration/ConfigService.cs @@ -353,41 +353,6 @@ namespace NzbDrone.Core.Configuration set { SetValue("EnableColorImpairedMode", value); } } - public bool ExpandAlbumByDefault - { - get { return GetValueBoolean("ExpandAlbumByDefault", false); } - - set { SetValue("ExpandAlbumByDefault", value); } - } - - public bool ExpandEPByDefault - { - get { return GetValueBoolean("ExpandEPByDefault", false); } - - set { SetValue("ExpandEPByDefault", value); } - } - - public bool ExpandSingleByDefault - { - get { return GetValueBoolean("ExpandSingleByDefault", false); } - - set { SetValue("ExpandSingleByDefault", value); } - } - - public bool ExpandBroadcastByDefault - { - get { return GetValueBoolean("ExpandBroadcastByDefault", false); } - - set { SetValue("ExpandBroadcastByDefault", value); } - } - - public bool ExpandOtherByDefault - { - get { return GetValueBoolean("ExpandOtherByDefault", false); } - - set { SetValue("ExpandOtherByDefault", value); } - } - public bool CleanupMetadataImages { get { return GetValueBoolean("CleanupMetadataImages", true); } diff --git a/src/NzbDrone.Core/Configuration/IConfigService.cs b/src/NzbDrone.Core/Configuration/IConfigService.cs index 30cb979a4..ef7afcc91 100644 --- a/src/NzbDrone.Core/Configuration/IConfigService.cs +++ b/src/NzbDrone.Core/Configuration/IConfigService.cs @@ -63,12 +63,6 @@ namespace NzbDrone.Core.Configuration bool ShowRelativeDates { get; set; } bool EnableColorImpairedMode { get; set; } - bool ExpandAlbumByDefault { get; set; } - bool ExpandSingleByDefault { get; set; } - bool ExpandEPByDefault { get; set; } - bool ExpandBroadcastByDefault { get; set; } - bool ExpandOtherByDefault { get; set; } - //Internal bool CleanupMetadataImages { get; set; } diff --git a/src/Readarr.Api.V1/Config/UiConfigResource.cs b/src/Readarr.Api.V1/Config/UiConfigResource.cs index c91f8c454..817be8719 100644 --- a/src/Readarr.Api.V1/Config/UiConfigResource.cs +++ b/src/Readarr.Api.V1/Config/UiConfigResource.cs @@ -16,12 +16,6 @@ namespace Readarr.Api.V1.Config public bool ShowRelativeDates { get; set; } public bool EnableColorImpairedMode { get; set; } - - public bool ExpandAlbumByDefault { get; set; } - public bool ExpandSingleByDefault { get; set; } - public bool ExpandEPByDefault { get; set; } - public bool ExpandBroadcastByDefault { get; set; } - public bool ExpandOtherByDefault { get; set; } } public static class UiConfigResourceMapper @@ -39,12 +33,6 @@ namespace Readarr.Api.V1.Config ShowRelativeDates = model.ShowRelativeDates, EnableColorImpairedMode = model.EnableColorImpairedMode, - - ExpandAlbumByDefault = model.ExpandAlbumByDefault, - ExpandSingleByDefault = model.ExpandSingleByDefault, - ExpandEPByDefault = model.ExpandEPByDefault, - ExpandBroadcastByDefault = model.ExpandBroadcastByDefault, - ExpandOtherByDefault = model.ExpandOtherByDefault }; } }