removed gray

This commit is contained in:
Krishna Kishore Bandaru 2024-02-20 19:56:27 +05:30
parent 9f19fd4717
commit 1780c95684

View File

@ -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
} }