diff --git a/CHANGELOG.md b/CHANGELOG.md index 90501aea..b600748e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,11 @@ All notable changes to this project will be documented in this file. ## [3.3.4](https://github.com/SwiftKickMobile/SwiftMessages/releases/tag/3.3.4) ### Features -* Add `blur` dim mode option. +* #89 Add `blur` dim mode option. + +### Bug Fixes +* #98 Fix touch handling in message view's background view. +* #97 Fix main thread checker warning ## [3.3.3](https://github.com/SwiftKickMobile/SwiftMessages/releases/tag/3.3.3) diff --git a/SwiftMessages/Presenter.swift b/SwiftMessages/Presenter.swift index b83dc73e..18d665f6 100644 --- a/SwiftMessages/Presenter.swift +++ b/SwiftMessages/Presenter.swift @@ -63,12 +63,10 @@ class Presenter: NSObject, UIGestureRecognizerDelegate { panRecognizer.addTarget(self, action: #selector(Presenter.pan(_:))) panRecognizer.delegate = self maskingView.clipsToBounds = true + id = (view as? Identifiable)?.id } - var id: String? { - let identifiable = view as? Identifiable - return identifiable?.id - } + var id: String? var pauseDuration: TimeInterval? { let duration: TimeInterval?