removed gray
This commit is contained in:
parent
9f19fd4717
commit
1780c95684
@ -350,7 +350,7 @@ extension TileContainerViewController {
|
|||||||
//Created new BackgroundColor enum for sample app only. Since we defined enum with associated value color defined in TileContainer cannot be RawRepresentable & CaseIterable
|
//Created new BackgroundColor enum for sample app only. Since we defined enum with associated value color defined in TileContainer cannot be RawRepresentable & CaseIterable
|
||||||
enum BackgroundColor: String, CaseIterable {
|
enum BackgroundColor: String, CaseIterable {
|
||||||
|
|
||||||
case primary, secondary, white, black, gray, custom
|
case primary, secondary, white, black, custom
|
||||||
|
|
||||||
var color: TileContainer.BackgroundColor? {
|
var color: TileContainer.BackgroundColor? {
|
||||||
switch self {
|
switch self {
|
||||||
@ -362,8 +362,6 @@ extension TileContainerViewController {
|
|||||||
.white
|
.white
|
||||||
case .black:
|
case .black:
|
||||||
.black
|
.black
|
||||||
case .gray:
|
|
||||||
.gray
|
|
||||||
case .custom:
|
case .custom:
|
||||||
nil
|
nil
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user