Skip to content

Commit

Permalink
Change dynamic size of title from headline to title2
Browse files Browse the repository at this point in the history
  • Loading branch information
BalestraPatrick committed Nov 14, 2017
1 parent c4e828c commit 92824a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WhatsNew/Items/WhatsNewItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public extension WhatsNewItemCustomizable {
}
// Use dynamic font size based on user preference if we're on > iOS 10.
if #available(iOS 10, *) {
titleLabel.font = UIFont.preferredFont(forTextStyle: .headline)
titleLabel.font = UIFont.preferredFont(forTextStyle: .title2)
subtitleLabel.font = UIFont.preferredFont(forTextStyle: .body)
} else {
titleLabel.font = UIFont.systemFont(ofSize: 20, weight: .bold)
Expand Down

0 comments on commit 92824a2

Please sign in to comment.