mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 10:32:46 +02:00
Address PR comments.
Log errors before throwing. Remove white colour. Remove AuthenticationCoordinatorState added during rebase.
This commit is contained in:
@@ -46,8 +46,6 @@ public struct ColorValues: Colors {
|
||||
|
||||
public let background: UIColor
|
||||
|
||||
public let white: UIColor
|
||||
|
||||
public let ems: UIColor
|
||||
|
||||
public let namesAndAvatars: [UIColor]
|
||||
|
||||
@@ -64,9 +64,6 @@ public protocol Colors {
|
||||
/// Background UI color
|
||||
var background: ColorType { get }
|
||||
|
||||
/// Global color: The color white.
|
||||
var white: ColorType { get }
|
||||
|
||||
/// Global color: The EMS brand's purple colour.
|
||||
var ems: ColorType { get }
|
||||
|
||||
|
||||
@@ -47,8 +47,6 @@ public struct ColorSwiftUI: Colors {
|
||||
|
||||
public let background: Color
|
||||
|
||||
public var white: Color
|
||||
|
||||
public var ems: Color
|
||||
|
||||
public let namesAndAvatars: [Color]
|
||||
@@ -66,7 +64,6 @@ public struct ColorSwiftUI: Colors {
|
||||
tile = Color(values.tile)
|
||||
navigation = Color(values.navigation)
|
||||
background = Color(values.background)
|
||||
white = Color(values.white)
|
||||
ems = Color(values.ems)
|
||||
namesAndAvatars = values.namesAndAvatars.map({ Color($0) })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user