mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 17:32:17 +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 kMPIsDefaultCell = @"IsDefaultCell";
|
||||||
NSString *const kMPIconCell = @"IconCell";
|
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)
|
@implementation KPKWindowAssociation (MPFixAutotypeWindowControllerQualifedName)
|
||||||
|
|
||||||
@@ -133,7 +121,7 @@ NSString *const kMPIconCell = @"IconCell";
|
|||||||
return entry.title;
|
return entry.title;
|
||||||
}
|
}
|
||||||
if(group) {
|
if(group) {
|
||||||
return [group breadcrumb];
|
return [group breadcrumbWithSeparator:@" > "];
|
||||||
}
|
}
|
||||||
return [association qualifedName];
|
return [association qualifedName];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user