From 36be7f0f25411ab98fb68a4b70ec0e421e661520 Mon Sep 17 00:00:00 2001 From: Ivan Smolin Date: Wed, 26 Jul 2023 13:58:13 +0300 Subject: [PATCH] make DimmedView init public --- PanModal.podspec | 2 +- PanModal/View/DimmedView.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PanModal.podspec b/PanModal.podspec index 6a08baa..e9fccb2 100644 --- a/PanModal.podspec +++ b/PanModal.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'PanModal' - s.version = '1.3.0' + s.version = '1.3.1' s.summary = 'PanModal is an elegant and highly customizable presentation API for constructing bottom sheet modals on iOS.' # This description is used to generate tags and improve search results. diff --git a/PanModal/View/DimmedView.swift b/PanModal/View/DimmedView.swift index e6be007..d8f3a7d 100644 --- a/PanModal/View/DimmedView.swift +++ b/PanModal/View/DimmedView.swift @@ -48,7 +48,7 @@ open class DimmedView: UIView { // MARK: - Initializers - init() { + public init() { super.init(frame: .zero) alpha = 0.0 addGestureRecognizer(tapGesture) -- 2.40.1