Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
c98e1f6d
Commit
c98e1f6d
authored
Mar 02, 2018
by
Carola Nitz
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLCKeychainCoordinator: if the passcode is empty we won't show the passcode screen
parent
66c4691f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Sources/KeychainCoordinator.swift
Sources/KeychainCoordinator.swift
+3
-1
No files found.
Sources/KeychainCoordinator.swift
View file @
c98e1f6d
...
...
@@ -82,7 +82,9 @@ class KeychainCoordinator:NSObject, PAPasscodeViewControllerDelegate {
@objc
func
validatePasscode
(
completion
:
@escaping
()
->
())
{
passcodeLockController
.
passcode
=
passcodeFromKeychain
()
self
.
completion
=
completion
guard
let
rootViewController
=
UIApplication
.
shared
.
delegate
?
.
window
??
.
rootViewController
else
{
guard
let
rootViewController
=
UIApplication
.
shared
.
delegate
?
.
window
??
.
rootViewController
,
passcodeLockController
.
passcode
!=
""
else
{
self
.
completion
?()
self
.
completion
=
nil
return
}
if
rootViewController
.
presentedViewController
!=
nil
{
...
...
Carola
@caro
mentioned in commit
2684636c
·
Mar 05, 2018
mentioned in commit
2684636c
mentioned in commit 2684636c67b347ce9b66756f26b14ec0c85c844b
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment