From e724c043d93bff7622cccf1fedf4a2d83627ee6f Mon Sep 17 00:00:00 2001 From: Andrej Mihajlov Date: Wed, 23 Dec 2020 16:03:41 +0100 Subject: [PATCH] UI: iOS: Remove duplicate call to addSubview Signed-off-by: Andrej Mihajlov --- Sources/WireGuardApp/UI/iOS/View/KeyValueCell.swift | 2 -- 1 file changed, 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 @@ -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([