fix: timeline gap wrong theme color issue
This commit is contained in:
parent
d9c0c75782
commit
20b3bed99f
|
@ -52,7 +52,7 @@ final class SawToothView: UIView {
|
|||
}
|
||||
bezierPath.addLine(to: CGPoint(x: 0, y: bottomY))
|
||||
bezierPath.close()
|
||||
ThemeService.shared.currentTheme.value.systemBackgroundColor.setFill()
|
||||
ThemeService.shared.currentTheme.value.tableViewCellBackgroundColor.setFill()
|
||||
bezierPath.fill()
|
||||
bezierPath.lineWidth = 0
|
||||
bezierPath.stroke()
|
||||
|
|
|
@ -86,7 +86,7 @@ class TimelineLoaderTableViewCell: UITableViewCell {
|
|||
loadMoreButton.heightAnchor.constraint(equalToConstant: TimelineLoaderTableViewCell.buttonHeight).priority(.required - 1),
|
||||
])
|
||||
|
||||
// use stack view to alignlment content center
|
||||
// use stack view to alignment content center
|
||||
stackView.spacing = 4
|
||||
stackView.axis = .horizontal
|
||||
stackView.alignment = .center
|
||||
|
@ -127,7 +127,7 @@ class TimelineLoaderTableViewCell: UITableViewCell {
|
|||
}
|
||||
|
||||
private func setupBackgroundColor(theme: Theme) {
|
||||
loadMoreButton.backgroundColor = theme.systemBackgroundColor
|
||||
loadMoreButton.backgroundColor = theme.tableViewCellBackgroundColor
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue