From: Andrej Mihajlov Date: Wed, 23 Dec 2020 15:03:41 +0000 (+0100) Subject: UI: iOS: Remove duplicate call to addSubview X-Git-Tag: 1.0.13-24~12 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=e724c043d93bff7622cccf1fedf4a2d83627ee6f;p=thirdparty%2Fwireguard-apple.git UI: iOS: Remove duplicate call to addSubview Signed-off-by: Andrej Mihajlov --- 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 @@ -115,8 +115,6 @@ class KeyValueCell: UITableViewCell { expandToFitValueLabelConstraint.priority = .defaultLow + 1 expandToFitValueLabelConstraint.isActive = true - contentView.addSubview(valueLabelScrollView) - contentView.addSubview(valueLabelScrollView) valueLabelScrollView.translatesAutoresizingMaskIntoConstraints = false NSLayoutConstraint.activate([