Commit 9099f28c authored by Soomin Lee's avatar Soomin Lee

AppDelegate: Rename setupLibraryBlock

parent c28b88e4
...@@ -84,11 +84,11 @@ ...@@ -84,11 +84,11 @@
- (void)setup - (void)setup
{ {
void (^setupLibraryBlock)(void) = ^{ void (^setupAppCoordinator)(void) = ^{
self->appCoordinator = [[AppCoordinator alloc] initWithViewController:self->rootViewController]; self->appCoordinator = [[AppCoordinator alloc] initWithViewController:self->rootViewController];
[self->appCoordinator start]; [self->appCoordinator start];
}; };
[self validatePasscodeIfNeededWithCompletion:setupLibraryBlock]; [self validatePasscodeIfNeededWithCompletion:setupAppCoordinator];
BOOL spotlightEnabled = ![VLCKeychainCoordinator passcodeLockEnabled]; BOOL spotlightEnabled = ![VLCKeychainCoordinator passcodeLockEnabled];
[[MLMediaLibrary sharedMediaLibrary] setSpotlightIndexingEnabled:spotlightEnabled]; [[MLMediaLibrary sharedMediaLibrary] setSpotlightIndexingEnabled:spotlightEnabled];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment