Skip to content

Commit

Permalink
Some minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
malcommac committed Oct 6, 2019
1 parent 9cf289c commit 9bca657
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Binary file not shown.
Expand Up @@ -59,7 +59,8 @@ extension GalleryVC: UICollectionViewDataSource, UICollectionViewDelegateFlowLay
}

public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize {
return collectionView.bounds.size
let size = collectionView.bounds.size
return size
}

public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumInteritemSpacingForSectionAt section: Int) -> CGFloat {
Expand Down
Expand Up @@ -40,7 +40,7 @@ public class NotesVC: UIViewController, ScrollStackContainableController {
self.textViewHeightConstraint.constant = newSize.height

view.height(constant: nil)
super.updateViewConstraints()
super.updateViewConstraints()
}

public func reloadContentFromStackViewRow() {
Expand All @@ -49,10 +49,10 @@ public class NotesVC: UIViewController, ScrollStackContainableController {

public override func viewDidLoad() {
super.viewDidLoad()


view.height(constant: nil)
textView.isScrollEnabled = false
textView.delegate = self
view.height(constant: nil)
}


Expand Down

0 comments on commit 9bca657

Please sign in to comment.