fix: checkmark background color lost for unselected poll issue
This commit is contained in:
parent
b91b3fa23d
commit
c8fa5430d3
|
@ -101,7 +101,9 @@ extension PollOptionView {
|
||||||
.receive(on: DispatchQueue.main)
|
.receive(on: DispatchQueue.main)
|
||||||
.sink { [weak self] theme in
|
.sink { [weak self] theme in
|
||||||
guard let self = self else { return }
|
guard let self = self else { return }
|
||||||
self.checkmarkBackgroundView.backgroundColor = theme.tertiarySystemBackgroundColor
|
self.checkmarkBackgroundView.backgroundColor = UIColor(dynamicProvider: { trailtCollection in
|
||||||
|
return trailtCollection.userInterfaceStyle == .light ? .white : theme.tableViewCellSelectionBackgroundColor
|
||||||
|
})
|
||||||
}
|
}
|
||||||
.store(in: &disposeBag)
|
.store(in: &disposeBag)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue