diff --git a/Core/Core/Configuration/Config/UIComponentsConfig.swift b/Core/Core/Configuration/Config/UIComponentsConfig.swift index f640f62e9..7597121e4 100644 --- a/Core/Core/Configuration/Config/UIComponentsConfig.swift +++ b/Core/Core/Configuration/Config/UIComponentsConfig.swift @@ -13,7 +13,7 @@ private enum Keys: String { } public class UIComponentsConfig: NSObject { - public var isVerticalsMenuEnabled: Bool = false + public var isVerticalsMenuEnabled: Bool public var courseTopTabBarEnabled: Bool init(dictionary: [String: Any]) { diff --git a/default_config/dev/config.yaml b/default_config/dev/config.yaml index d7e76817e..9aff23491 100644 --- a/default_config/dev/config.yaml +++ b/default_config/dev/config.yaml @@ -2,3 +2,9 @@ API_HOST_URL: 'http://localhost:8000' ENVIRONMENT_DISPLAY_NAME: 'Localhost' FEEDBACK_EMAIL_ADDRESS: 'support@example.com' OAUTH_CLIENT_ID: '' + +UI_COMPONENTS: + COURSE_BANNER_ENABLED: false + COURSE_TOP_TAB_BAR_ENABLED: false + COURSE_UNIT_PROGRESS_ENABLED: false + COURSE_NESTED_LIST_ENABLED: false diff --git a/default_config/prod/config.yaml b/default_config/prod/config.yaml index d7e76817e..9aff23491 100644 --- a/default_config/prod/config.yaml +++ b/default_config/prod/config.yaml @@ -2,3 +2,9 @@ API_HOST_URL: 'http://localhost:8000' ENVIRONMENT_DISPLAY_NAME: 'Localhost' FEEDBACK_EMAIL_ADDRESS: 'support@example.com' OAUTH_CLIENT_ID: '' + +UI_COMPONENTS: + COURSE_BANNER_ENABLED: false + COURSE_TOP_TAB_BAR_ENABLED: false + COURSE_UNIT_PROGRESS_ENABLED: false + COURSE_NESTED_LIST_ENABLED: false diff --git a/default_config/stage/config.yaml b/default_config/stage/config.yaml index d7e76817e..9aff23491 100644 --- a/default_config/stage/config.yaml +++ b/default_config/stage/config.yaml @@ -2,3 +2,9 @@ API_HOST_URL: 'http://localhost:8000' ENVIRONMENT_DISPLAY_NAME: 'Localhost' FEEDBACK_EMAIL_ADDRESS: 'support@example.com' OAUTH_CLIENT_ID: '' + +UI_COMPONENTS: + COURSE_BANNER_ENABLED: false + COURSE_TOP_TAB_BAR_ENABLED: false + COURSE_UNIT_PROGRESS_ENABLED: false + COURSE_NESTED_LIST_ENABLED: false