diff options
author | Andrej Mihajlov <and@mullvad.net> | 2020-12-23 16:03:41 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-12-23 16:14:03 +0100 |
commit | e724c043d93bff7622cccf1fedf4a2d83627ee6f (patch) | |
tree | f343f0bbb407646d5dd03c039f9c1dcbe8d8e224 | |
parent | UI: iOS: Fix placeholder label alignment in text fields. (diff) | |
download | wireguard-apple-e724c043d93bff7622cccf1fedf4a2d83627ee6f.tar.xz wireguard-apple-e724c043d93bff7622cccf1fedf4a2d83627ee6f.zip |
UI: iOS: Remove duplicate call to addSubview
Signed-off-by: Andrej Mihajlov <and@mullvad.net>
-rw-r--r-- | Sources/WireGuardApp/UI/iOS/View/KeyValueCell.swift | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Sources/WireGuardApp/UI/iOS/View/KeyValueCell.swift b/Sources/WireGuardApp/UI/iOS/View/KeyValueCell.swift index 70b97c8..a2c60f1 100644 --- a/Sources/WireGuardApp/UI/iOS/View/KeyValueCell.swift +++ b/Sources/WireGuardApp/UI/iOS/View/KeyValueCell.swift @@ -116,8 +116,6 @@ class KeyValueCell: UITableViewCell { expandToFitValueLabelConstraint.isActive = true contentView.addSubview(valueLabelScrollView) - - contentView.addSubview(valueLabelScrollView) valueLabelScrollView.translatesAutoresizingMaskIntoConstraints = false NSLayoutConstraint.activate([ valueLabelScrollView.trailingAnchor.constraint(equalTo: contentView.layoutMarginsGuide.trailingAnchor), |