Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Fixes #1473: Fixes constraints on settings table cell #1593

Merged
merged 1 commit into from
Nov 26, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 1 addition & 4 deletions Blockzilla/SettingsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ class SettingsTableViewAccessoryCell: SettingsTableViewCell {
}
}

textLabel?.numberOfLines = 0
textLabel?.text = " "

contentView.addSubview(accessoryLabel)
contentView.addSubview(newLabel)
contentView.addSubview(spacerView)
Expand All @@ -82,7 +79,7 @@ class SettingsTableViewAccessoryCell: SettingsTableViewCell {

spacerView.snp.makeConstraints { make in
make.top.bottom.leading.equalToSuperview()
make.trailing.equalTo(textLabel!.snp.leading)
make.width.equalTo(UIConstants.layout.settingsFirstTitleOffset)
}

newLabel.snp.makeConstraints { make in
Expand Down