Skip to content

Commit

Permalink
- New accessibility font size in ClientItemCell
Browse files Browse the repository at this point in the history
  • Loading branch information
pablocarmu committed Jan 29, 2019
1 parent 9f99862 commit 447d6be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ownCloud/Client/ClientItemCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 447d6be

Please sign in to comment.