Skip to content

Commit

Permalink
fix(DarkMode): Update backgroundColor of ListViewCell (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpg93 authored Apr 28, 2021
1 parent 7e6a7f6 commit 91b22b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mistica/Source/Components/Lists/ListViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ private extension ListViewCell {
func updateCellStyle() {
contentView.directionalLayoutMargins = cellStyle.contentViewLayoutMargins
contentView.preservesSuperviewLayoutMargins = false
contentView.backgroundColor = .background

cellContentView.isLayoutMarginsRelativeArrangement = true
cellContentView.directionalLayoutMargins = cellStyle.mainStackViewLayoutMargins
Expand Down

0 comments on commit 91b22b2

Please sign in to comment.