Skip to content

Commit

Permalink
chore(Catalog): IOS-10753 Fix background (#412)
Browse files Browse the repository at this point in the history
* IOS-10753 Fix background

* IOS-10753 CR fixes
  • Loading branch information
amegias authored Nov 21, 2024
1 parent 5e191c6 commit c7af167
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class UICatalogButtonsViewController: UITableViewController {
rightImage: style.rightImage
)
cell.configure(with: button)
cell.contentView.backgroundColor = style.isInverse ? .navigationBarBackground : .backgroundContainer
cell.contentView.setMisticaColorBackground(style.isInverse ? .backgroundBrand : .solid(.backgroundContainer))

return cell
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,12 @@ struct ButtonsCatalogView: View {

Spacer()
}
.listRowBackground(style.inverse ? Color.brand : Color.background)
.listRowBackground(
EmptyView()
.misticaColorView(style.inverse
? .backgroundBrand
: .solid(.backgroundContainer))
)
} header: {
Text(style.title)
}
Expand Down

0 comments on commit c7af167

Please sign in to comment.