diff --git a/platform-darwin/Source/Mac/MPSitesWindowController.m b/platform-darwin/Source/Mac/MPSitesWindowController.m index 7da7f82d..9cab51c1 100644 --- a/platform-darwin/Source/Mac/MPSitesWindowController.m +++ b/platform-darwin/Source/Mac/MPSitesWindowController.m @@ -617,7 +617,7 @@ NSMutableString *queryPattern = [NSMutableString new]; [queryString enumerateSubstringsInRange: NSMakeRange(0, [queryString length]) options: NSStringEnumerationByComposedCharacterSequences usingBlock: ^(NSString *substring, NSRange substringRange, NSRange enclosingRange, BOOL *stop) { - if (substringRange.location < 10) { + if (substringRange.location < 20) { [queryGroups addObject:substring]; [queryPattern appendString:@"*"]; } diff --git a/platform-darwin/Source/iOS/MPSitesViewController.m b/platform-darwin/Source/iOS/MPSitesViewController.m index bbadc0cc..06bf6fbb 100644 --- a/platform-darwin/Source/iOS/MPSitesViewController.m +++ b/platform-darwin/Source/iOS/MPSitesViewController.m @@ -373,7 +373,7 @@ typedef NS_OPTIONS( NSUInteger, MPPasswordsTips ) { NSMutableString *queryPattern = [NSMutableString new]; [queryString enumerateSubstringsInRange: NSMakeRange(0, [queryString length]) options: NSStringEnumerationByComposedCharacterSequences usingBlock: ^(NSString *substring, NSRange substringRange, NSRange enclosingRange, BOOL *stop) { - if (substringRange.location < 10) { + if (substringRange.location < 20) { [queryGroups addObject:substring]; [queryPattern appendString:@"*"]; }