Skip to content

Commit

Permalink
chore: little refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
rnr committed Jan 22, 2024
1 parent e47e4fa commit 8e09940
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Core/Core/Configuration/Config/UIComponentsConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 8e09940

Please sign in to comment.