Small tweaks plus changelog entry.

Use the new generated localisation strings. Add comments.

Address feedback from PR review.
This commit is contained in:
Doug
2021-09-30 14:14:15 +01:00
parent 95868e50b0
commit 4e434ef451
10 changed files with 167 additions and 61 deletions
@@ -17,10 +17,16 @@
import UIKit
import Reusable
protocol ServiceTermsModalTableHeaderViewDelegate: AnyObject {
func tableHeaderViewDidTapInformationButton()
}
class ServiceTermsModalTableHeaderView: UIView, NibLoadable, Themable {
// MARK: - Properties
weak var delegate: ServiceTermsModalTableHeaderViewDelegate?
@IBOutlet weak var titleLabel: UILabel!
@IBOutlet weak var serviceURLLabel: UILabel!
@@ -44,6 +50,7 @@ class ServiceTermsModalTableHeaderView: UIView, NibLoadable, Themable {
// MARK: - Action
@IBAction private func buttonAction(_ sender: Any) {
delegate?.tableHeaderViewDidTapInformationButton()
}
}