From 05ec840ffdca6215d802fd76cb4eba2cf25fa488 Mon Sep 17 00:00:00 2001 From: Khoa Pham Date: Fri, 17 Nov 2017 14:19:54 +0100 Subject: [PATCH] Fix indentation --- Example/DemoLightbox/DemoLightbox/ViewController.swift | 4 ++-- Source/Views/HeaderView.swift | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Example/DemoLightbox/DemoLightbox/ViewController.swift b/Example/DemoLightbox/DemoLightbox/ViewController.swift index a9eed19..57c5655 100644 --- a/Example/DemoLightbox/DemoLightbox/ViewController.swift +++ b/Example/DemoLightbox/DemoLightbox/ViewController.swift @@ -13,11 +13,11 @@ class ViewController: UIViewController { button.autoresizingMask = [.flexibleTopMargin, .flexibleLeftMargin, .flexibleRightMargin, .flexibleBottomMargin] return button - }() + }() override func viewDidLoad() { super.viewDidLoad() - + view.autoresizingMask = [.flexibleTopMargin, .flexibleLeftMargin, .flexibleRightMargin, .flexibleBottomMargin] view.backgroundColor = UIColor.white view.addSubview(showButton) diff --git a/Source/Views/HeaderView.swift b/Source/Views/HeaderView.swift index 67ec187..11c940d 100644 --- a/Source/Views/HeaderView.swift +++ b/Source/Views/HeaderView.swift @@ -38,7 +38,7 @@ open class HeaderView: UIView { button.isHidden = !LightboxConfig.CloseButton.enabled return button - }() + }() open fileprivate(set) lazy var deleteButton: UIButton = { [unowned self] in let title = NSAttributedString( @@ -65,7 +65,7 @@ open class HeaderView: UIView { button.isHidden = !LightboxConfig.DeleteButton.enabled return button - }() + }() weak var delegate: HeaderViewDelegate?