[iOS] Removed global style for UITableViewHeaderFooterView

This commit is contained in:
Alexander Boriskov 2020-03-05 16:48:03 +03:00 committed by Aleksey Belousov
parent b1b9717d95
commit 51e7959688

View file

@ -1,8 +1,5 @@
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)