Skip to content

Commit a66faf6

Browse files
author
Artsem Lemiasheuski
committed
Refactor.
1 parent 3aed4e0 commit a66faf6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

OpenDocumentReader/DocumentViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class DocumentViewController: UIViewController, DocumentDelegate, GADBannerViewD
6767
searchBarHeightWhenShown = searchBar.heightAnchor.constraint(equalToConstant: 56)
6868
searchBarHeightWhenHidden = searchBar.heightAnchor.constraint(equalToConstant: 0)
6969

70-
setVCcontraints()
70+
setVCconstraints()
7171
hideSearchBar()
7272

7373
barButtonItem.title = NSLocalizedString("back_to_documents", comment: "")
@@ -88,7 +88,7 @@ class DocumentViewController: UIViewController, DocumentDelegate, GADBannerViewD
8888
loadBannerAd()
8989
}
9090

91-
func setVCcontraints() {
91+
func setVCconstraints() {
9292
searchBar.translatesAutoresizingMaskIntoConstraints = false
9393
bannerView.translatesAutoresizingMaskIntoConstraints = false
9494
segmentedControl.translatesAutoresizingMaskIntoConstraints = false

0 commit comments

Comments
 (0)