Convert colors to lazy vars

This commit is contained in:
ismailgulek
2021-05-04 18:35:03 +03:00
parent 0f1d90ce5e
commit 2b94b2ea5e
2 changed files with 8 additions and 16 deletions
@@ -145,14 +145,10 @@ class DefaultTheme: NSObject, Theme {
button.tintColor = self.tintColor
button.setTitleColor(self.tintColor, for: .normal)
}
}
// MARK: - Theme v2
extension DefaultTheme: ThemeV2 {
var colors: Colors {
/// MARK: - Theme v2
lazy var colors: Colors = {
return LightColors()
}
}()
}