From 8e099406e160c0ce200fe37194987a58bbb33f0b Mon Sep 17 00:00:00 2001 From: Anton Yarmolenko Date: Mon, 22 Jan 2024 13:42:03 +0100 Subject: [PATCH] chore: little refactor --- Core/Core/Configuration/Config/UIComponentsConfig.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/Core/Configuration/Config/UIComponentsConfig.swift b/Core/Core/Configuration/Config/UIComponentsConfig.swift index 027f7d639..2adc807b9 100644 --- a/Core/Core/Configuration/Config/UIComponentsConfig.swift +++ b/Core/Core/Configuration/Config/UIComponentsConfig.swift @@ -21,9 +21,9 @@ public class UIComponentsConfig: NSObject { public let whatsNewImageOrTitlePageSkip: String? init(dictionary: [String: Any]) { - courseNestedListEnabled = dictionary[Keys.courseNestedListEnabled.rawValue] as? Bool ?? false - courseBannerEnabled = dictionary[Keys.courseBannerEnabled.rawValue] as? Bool ?? false - courseTopTabBarEnabled = dictionary[Keys.courseTopTabBarEnabled.rawValue] as? Bool ?? false + courseNestedListEnabled = dictionary[Keys.courseNestedListEnabled] as? Bool ?? false + courseBannerEnabled = dictionary[Keys.courseBannerEnabled] as? Bool ?? false + courseTopTabBarEnabled = dictionary[Keys.courseTopTabBarEnabled] as? Bool ?? false whatsNewImageOrTitlePageSkip = dictionary[Keys.whatsNewImageOrTitlePageSkip] as? String super.init() }