mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 02:52:45 +02:00
Convert colors to lazy vars
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
}()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user