mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 14:13:45 +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
25 lines
510 B
Swift
25 lines
510 B
Swift
@objc
|
|
final class SettingsTableViewSelectableCell: MWMTableViewCell {
|
|
|
|
override func awakeFromNib() {
|
|
super.awakeFromNib()
|
|
setupCell()
|
|
}
|
|
|
|
override func applyTheme() {
|
|
super.applyTheme()
|
|
textLabel?.applyTheme()
|
|
}
|
|
|
|
private func setupCell() {
|
|
setStyle(.background)
|
|
textLabel?.setFontStyle(.regular17, color: .blackPrimary)
|
|
textLabel?.numberOfLines = 0
|
|
textLabel?.lineBreakMode = .byWordWrapping
|
|
}
|
|
|
|
@objc func config(title: String) {
|
|
textLabel?.text = title
|
|
}
|
|
}
|