forked from organicmaps/organicmaps
[ios] add missing "styleName" in UITableViewHeaderFooterView in "applyTheme" method for correct header rendering
Signed-off-by: Kiryl Kaveryn <k.kaveryn@brainq.com>
This commit is contained in:
parent
98cde7b983
commit
a18f40343c
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
extension UITableViewHeaderFooterView {
|
||||
@objc override func applyTheme() {
|
||||
if styleName.isEmpty {
|
||||
styleName = "TableViewHeaderFooterView"
|
||||
}
|
||||
for style in StyleManager.shared.getStyle(styleName)
|
||||
where !style.isEmpty && !style.hasExclusion(view: self) {
|
||||
UITableViewHeaderFooterViewRenderer.render(self, style: style)
|
||||
|
|
Loading…
Add table
Reference in a new issue