mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
19 lines
511 B
Swift
19 lines
511 B
Swift
import Foundation
|
|
extension MWMTableViewCell {
|
|
@objc override func applyTheme() {
|
|
if styleName.isEmpty {
|
|
setStyle(.tableViewCell)
|
|
}
|
|
for style in StyleManager.shared.getStyle(styleName)
|
|
where !style.isEmpty && !style.hasExclusion(view: self) {
|
|
MWMTableViewCellRenderer.render(self, style: style)
|
|
}
|
|
}
|
|
}
|
|
|
|
class MWMTableViewCellRenderer: UITableViewCellRenderer {
|
|
class func render(_ control: MWMTableViewCell, style: Style) {
|
|
super.render(control, style: style)
|
|
}
|
|
}
|