From 1668177ed7a8dbc37097f511a22f25110f761510 Mon Sep 17 00:00:00 2001 From: Pablo Carrascal Date: Mon, 28 Jan 2019 08:52:40 +0100 Subject: [PATCH] - New accessibility font size in ClientItemCell --- ownCloud/Client/ClientItemCell.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ownCloud/Client/ClientItemCell.swift b/ownCloud/Client/ClientItemCell.swift index 3ee34e160..b474f1691 100644 --- a/ownCloud/Client/ClientItemCell.swift +++ b/ownCloud/Client/ClientItemCell.swift @@ -72,7 +72,8 @@ class ClientItemCell: ThemeTableViewCell { iconView.rightAnchor.constraint(equalTo: detailLabel.leftAnchor, constant: -15).isActive = true moreButton.setAttributedTitle(NSAttributedString(string: "● ● ●", attributes: - [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 10)]), for: .normal) + [NSAttributedString.Key.font: UIFont.preferredFont(forTextStyle: .caption2)]), for: .normal) + moreButton.titleLabel?.adjustsFontForContentSizeCategory = true moreButton.contentMode = .scaleToFill