Skip to content

Commit

Permalink
Fix to trigger finishNotification when hide
Browse files Browse the repository at this point in the history
  • Loading branch information
impresyjna authored Jun 4, 2019
1 parent c27b366 commit 4905978
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ImpressiveNotifications/Sources/INNotification.swift
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,10 @@ public class INNotification: UIView {
}

public func hide() {
hideNotification()
timer?.invalidate()
timer = nil

finishNotification()
}

public func showNotification() {
Expand Down

0 comments on commit 4905978

Please sign in to comment.