Skip to content

Commit

Permalink
Don’t block user interaction with .none dim mode
Browse files Browse the repository at this point in the history
  • Loading branch information
wtmoose committed Mar 13, 2017
1 parent 8448eac commit 02a2d5b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log
All notable changes to this project will be documented in this file.

## [3.3.1](https://github.com/SwiftKickMobile/SwiftMessages/releases/tag/3.3.1)

### Bug Fixes
* Fix regression where the UI was being blocked when using `DimMode.none`.

## [3.3.0](https://github.com/SwiftKickMobile/SwiftMessages/releases/tag/3.3.0)

### Features
Expand Down
4 changes: 2 additions & 2 deletions SwiftMessages.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |spec|
spec.name = 'SwiftMessages'
spec.version = '3.3.0'
spec.version = '3.3.1'
spec.license = { :type => 'MIT' }
spec.homepage = 'https://github.com/SwiftKickMobile/SwiftMessages'
spec.authors = { 'Timothy Moose' => '[email protected]' }
spec.summary = 'A very flexible message bar for iOS written in Swift.'
spec.source = {:git => 'https://github.com/SwiftKickMobile/SwiftMessages.git', :tag => '3.3.0'}
spec.source = {:git => 'https://github.com/SwiftKickMobile/SwiftMessages.git', :tag => '3.3.1'}
spec.platform = :ios, '8.0'
spec.ios.deployment_target = '8.0'
spec.source_files = 'SwiftMessages/**/*.swift'
Expand Down
1 change: 1 addition & 0 deletions SwiftMessages/Presenter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ class Presenter: NSObject, UIGestureRecognizerDelegate {
}

private func installInteractive() {
guard config.dimMode.modal else { return }
if config.dimMode.interactive {
maskingView.tappedHander = { [weak self] in
guard let strongSelf = self else { return }
Expand Down

0 comments on commit 02a2d5b

Please sign in to comment.