Updated KeePassKit to fix various Pickchars issues

This commit is contained in:
Michael Starke
2019-08-28 11:53:28 +02:00
parent 88d7d8792a
commit 7e402601f8
2 changed files with 3 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
github "MacPass/KeePassKit" "2.4.4"
github "MacPass/KeePassKit" "2.4.7"
github "mstarke/HNHUi" "3.0"
github "robbiehanson/KissXML" "5.2.3"
github "sparkle-project/Sparkle" "1.20.0"

View File

@@ -99,10 +99,9 @@
return (response == NSModalResponseOK) ? pickFieldViewController.pickedValue : @"";
}
- (NSString *)tree:(KPKTree *)tree resolvePickCharsPlaceholderForEntry:(KPKEntry *)entry field:(NSString *)field options:(NSString *)options {
NSString *value = [[entry valueForAttributeWithKey:field] kpk_finalValueForEntry:entry];
- (NSString *)tree:(KPKTree *)tree resolvePickCharsPlaceholderForValue:(NSString *)value options:(NSString *)options {
if(value.length == 0) {
return @""; // error while retrieving source value
return @"";
}
MPPickcharsParser *parser = [[MPPickcharsParser alloc] initWithOptions:options];
MPPickcharsViewController *pickCharViewController = [[MPPickcharsViewController alloc] init];