mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-18 02:39:30 +00:00
Updated KeePassKit to fix various Pickchars issues
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user