Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions PasscodeLock/PasscodeLockPresenter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ open class PasscodeLockPresenter {

let window = UIWindow(frame: UIScreen.main.bounds)

window.windowLevel = 0
window.windowLevel = UIWindowLevelNormal
window.makeKeyAndVisible()

return window
Expand Down Expand Up @@ -122,8 +122,9 @@ open class PasscodeLockPresenter {

} else {

passcodeLockWindow.windowLevel = 0
passcodeLockWindow.windowLevel = UIWindowLevelNormal
passcodeLockWindow.rootViewController = nil
passcodeLockWindow.isHidden = true
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra tab?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope other indentations are with whitespaces
when I added this line my indentations are with tabs
should I refactor class to use tabs instead of whitespaces ?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so :)

}
}

Expand All @@ -141,8 +142,9 @@ open class PasscodeLockPresenter {
},
completion: { [weak self] _ in

self?.passcodeLockWindow.windowLevel = 0
self?.passcodeLockWindow.windowLevel = UIWindowLevelNormal
self?.passcodeLockWindow.rootViewController = nil
self?.passcodeLockWindow.isHidden = true
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra tab?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

self?.passcodeLockWindow.alpha = 1
}
)
Expand Down
4 changes: 2 additions & 2 deletions SMFPasscodeLock.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

Pod::Spec.new do |s|
s.name = 'SMFPasscodeLock'
s.version = '2.0.1'
s.version = '2.1.0'
s.license = { :type => "MIT", :file => 'LICENSE.txt' }
s.summary = 'SMF Fork of PasscodeLock: An iOS passcode lock with Touch ID authentication written in Swift.'
s.homepage = 'https://github.com/smartmobilefactory/SwiftPasscodeLock'
s.source = { :git => 'https://github.com/smartmobilefactory/SwiftPasscodeLock.git', :tag => "versions/#{s.version}" }
s.source = { :git => 'https://github.com/smartmobilefactory/SwiftPasscodeLock.git', :tag => "releases/#{s.version}" }
s.authors = [{ 'Ramiro Ramirez' => '' }, { 'Yanko Dimitrov' => '' }, { 'Hans Seiffert' => '' }]

s.ios.deployment_target = '8.0'
Expand Down