code style

This commit is contained in:
Michael Starke
2019-08-09 21:31:11 +02:00
parent 32c6bae7e4
commit c523ba716f

View File

@@ -209,7 +209,8 @@ static MPAutotypeDaemon *_sharedInstance;
NSPredicate *filterPredicate = [NSPredicate predicateWithBlock:^BOOL(id _Nonnull evaluatedObject, NSDictionary<NSString *,id> * _Nullable bindings) {
MPDocument *document = evaluatedObject;
return !document.encrypted;}];
return !document.encrypted;
}];
NSArray *unlockedDocuments = [documents filteredArrayUsingPredicate:filterPredicate];
/* We look for all unlocked documents, if all open documents are locked, we pop the front most and try to search again */
if(unlockedDocuments.count == 0) {