mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 10:32:26 +00:00
Added additinal URL placehodlers. Moved breadcrum to KPKGroup
This commit is contained in:
Submodule KeePassKit updated: 24e7caedbf...4aaf8d2642
@@ -21,18 +21,6 @@ NSString *const kMPTitleCell = @"TitleCell";
|
||||
NSString *const kMPIsDefaultCell = @"IsDefaultCell";
|
||||
NSString *const kMPIconCell = @"IconCell";
|
||||
|
||||
/* Helper Categries */
|
||||
|
||||
@implementation KPKGroup (MPFixAutotypeWindowControllerBreadCrumb)
|
||||
|
||||
- (NSString *)breadcrumb {
|
||||
if(self.parent) {
|
||||
return [[self.parent breadcrumb] stringByAppendingFormat:@" > %@", self.name];
|
||||
}
|
||||
return self.name;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation KPKWindowAssociation (MPFixAutotypeWindowControllerQualifedName)
|
||||
|
||||
@@ -133,7 +121,7 @@ NSString *const kMPIconCell = @"IconCell";
|
||||
return entry.title;
|
||||
}
|
||||
if(group) {
|
||||
return [group breadcrumb];
|
||||
return [group breadcrumbWithSeparator:@" > "];
|
||||
}
|
||||
return [association qualifedName];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user