Skip to content

Commit

Permalink
Make dismiss public
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvorobei committed Jan 10, 2020
1 parent d2ddcd5 commit 585da7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SPAlert.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "SPAlert"
s.version = "2.1"
s.version = "2.1.1"
s.summary = "Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets."
s.homepage = "https://github.com/IvanVorobei/SPAlert"
s.source = { :git => "https://github.com/IvanVorobei/SPAlert.git", :tag => s.version }
Expand Down
2 changes: 1 addition & 1 deletion Source/SPAlert/Views/SPAlertView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ open class SPAlertView: UIView {
/**
Use this method for force dismiss controller. By default it call automatically.
*/
@objc func dismiss() {
@objc public func dismiss() {
UIView.animate(withDuration: 0.2, animations: {
self.alpha = 0
self.transform = self.transform.scaledBy(x: 0.8, y: 0.8)
Expand Down

0 comments on commit 585da7c

Please sign in to comment.