mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-22 21:09:33 +00:00
Minor updates for plugins
This commit is contained in:
@@ -33,7 +33,7 @@ static MPPluginHost *_instance;
|
||||
}
|
||||
|
||||
- (NSArray<KPKEntry *> *)filteredEntriesUsingBlock:(NodeMatchBlock)matchBlock {
|
||||
NSArray *currentDocuments = [[NSDocumentController sharedDocumentController] documents];
|
||||
NSArray *currentDocuments = [NSDocumentController sharedDocumentController].documents;
|
||||
NSMutableArray *entries = [[NSMutableArray alloc] initWithCapacity:200];
|
||||
for(MPDocument *document in currentDocuments) {
|
||||
if(document.tree) {
|
||||
@@ -49,4 +49,7 @@ static MPPluginHost *_instance;
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void)presentError:(NSError *)error completionHandler:(void (^)(NSModalResponse))completionHandler {
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user