Skip to content

Commit

Permalink
Makes textview in example works with dynamic font sizes.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanPartzsch committed Mar 7, 2024
1 parent c6aa627 commit b3a5c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Example/SwiftyMarkdownExample/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ViewController: UIViewController {
}

@IBAction func reloadText( _ sender : UIButton? ) {
self.textView.adjustsFontForContentSizeCategory = true
self.textView.dataDetectorTypes = UIDataDetectorTypes.all

if let url = Bundle.main.url(forResource: "example", withExtension: "md"), let md = SwiftyMarkdown(url: url) {
Expand Down

0 comments on commit b3a5c14

Please sign in to comment.