diff --git a/JSONCreator_iOS/JSONCreator/DetailViewController.swift b/JSONCreator_iOS/JSONCreator/DetailViewController.swift index 1e65bad..55bbee2 100644 --- a/JSONCreator_iOS/JSONCreator/DetailViewController.swift +++ b/JSONCreator_iOS/JSONCreator/DetailViewController.swift @@ -22,11 +22,7 @@ class DetailViewController: UIViewController { modalPresentationStyle = .fullScreen view.addSubview(textView) - if UIDevice.current.userInterfaceIdiom == .pad { - textView.font = UIFont.systemFont(ofSize: 40) - } else { - textView.font = UIFont.systemFont(ofSize: 14) - } + textView.font = UIFont.systemFont(ofSize: 14) textView.translatesAutoresizingMaskIntoConstraints = false textView.leadingAnchor.constraint(equalTo: view.leadingAnchor).isActive = true textView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor).isActive = true diff --git a/JSONCreator_iOS/JSONCreator/MoleculeReplacementViewController.swift b/JSONCreator_iOS/JSONCreator/MoleculeReplacementViewController.swift index 510d05e..4334d31 100644 --- a/JSONCreator_iOS/JSONCreator/MoleculeReplacementViewController.swift +++ b/JSONCreator_iOS/JSONCreator/MoleculeReplacementViewController.swift @@ -26,11 +26,7 @@ class MoleculeReplacementViewController: UIViewController { modalPresentationStyle = .fullScreen view.addSubview(textView) - if UIDevice.current.userInterfaceIdiom == .pad { - textView.font = UIFont.systemFont(ofSize: 40) - } else { - textView.font = UIFont.systemFont(ofSize: 14) - } + textView.font = UIFont.systemFont(ofSize: 14) textView.translatesAutoresizingMaskIntoConstraints = false textView.leadingAnchor.constraint(equalTo: view.leadingAnchor).isActive = true textView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor).isActive = true