From 240044da03926a3bb0aa14d26fec0bfa06947647 Mon Sep 17 00:00:00 2001 From: Dwayne Harris Date: Sat, 17 Nov 2018 00:02:35 -0800 Subject: [PATCH] Fix account field links --- elpha-ios/AccountTableViewController.swift | 2 +- elpha-ios/Base.lproj/Main.storyboard | 29 +++++++++++++--------- elpha-ios/FieldTableViewCell.swift | 2 +- 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/elpha-ios/AccountTableViewController.swift b/elpha-ios/AccountTableViewController.swift index 9367349..3ebc7b1 100644 --- a/elpha-ios/AccountTableViewController.swift +++ b/elpha-ios/AccountTableViewController.swift @@ -48,7 +48,7 @@ class FieldTableViewController: NSObject, UITableViewDelegate, UITableViewDataSo """ if let data = htmlString.data(using: String.Encoding.utf16) { - cell.valueLabel.attributedText = try NSAttributedString( + cell.valueTextView.attributedText = try NSAttributedString( data: data, options: [.documentType: NSAttributedString.DocumentType.html], documentAttributes: nil diff --git a/elpha-ios/Base.lproj/Main.storyboard b/elpha-ios/Base.lproj/Main.storyboard index c0ced32..700ee61 100644 --- a/elpha-ios/Base.lproj/Main.storyboard +++ b/elpha-ios/Base.lproj/Main.storyboard @@ -627,30 +627,35 @@ - + + + + - + + + + - - - - + @@ -741,7 +746,7 @@ - + diff --git a/elpha-ios/FieldTableViewCell.swift b/elpha-ios/FieldTableViewCell.swift index 0a8a673..44d1753 100644 --- a/elpha-ios/FieldTableViewCell.swift +++ b/elpha-ios/FieldTableViewCell.swift @@ -10,5 +10,5 @@ import UIKit class FieldTableViewCell: UITableViewCell { @IBOutlet var nameLabel: UILabel! - @IBOutlet var valueLabel: UILabel! + @IBOutlet var valueTextView: UITextViewFixed! }