X-Git-Url: https://git.mdrn.pl/wl-app.git/blobdiff_plain/53b27422d140022594fc241cca91c3183be57bca..48b2fe9f7c2dc3d9aeaaa6dbfb27c7da4f3235ff:/iOS/WolneLektury/Screens/SupportUs/SupportUsViewController.swift?ds=sidebyside diff --git a/iOS/WolneLektury/Screens/SupportUs/SupportUsViewController.swift b/iOS/WolneLektury/Screens/SupportUs/SupportUsViewController.swift new file mode 100644 index 0000000..883d62b --- /dev/null +++ b/iOS/WolneLektury/Screens/SupportUs/SupportUsViewController.swift @@ -0,0 +1,29 @@ +// +// SupportUsViewController.swift +// WolneLektury +// +// Created by Pawel Dabrowski on 18/09/2018. +// Copyright © 2018 Fundacja Nowoczesna Polska. All rights reserved. +// + +import UIKit + +class SupportUsViewController: MainViewController { + + @IBOutlet weak var textView: UITextView! + + override func viewDidLoad() { + super.viewDidLoad() + title = "support_us".localized + + if let htmlString = try? NSAttributedString(html: "support_us_text".localized){ + textView.attributedText = htmlString + } + else { + textView.text = "support_us_text".localized + } + + textView.tintColor = Constants.Colors.darkGreenBgColor() + } + +}