mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 15:12:21 +00:00
Started Move to KeePassKit - Project compiles but does NOT work properly
Removed MiniKeePass Categories. Moved Random streams form MiniKeePass to KeePassKit Changed MacPass to use KeePassKit
This commit is contained in:
26
MacPass/KPKNode+IconImage.m
Normal file
26
MacPass/KPKNode+IconImage.m
Normal file
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// KPKNode+IconImage.m
|
||||
// MacPass
|
||||
//
|
||||
// Created by Michael Starke on 31.08.13.
|
||||
// Copyright (c) 2013 HicknHack Software GmbH. All rights reserved.
|
||||
//
|
||||
|
||||
#import "KPKNode+IconImage.h"
|
||||
|
||||
#import "KPKIcon.h"
|
||||
|
||||
#import "MPIconHelper.h"
|
||||
|
||||
@implementation KPKNode (IconImage)
|
||||
|
||||
- (NSImage *)iconImage {
|
||||
if([self respondsToSelector:@selector(customIconUuid)]) {
|
||||
// find the custom icon
|
||||
}
|
||||
if(self.customIcon) {
|
||||
return self.customIcon.image;
|
||||
}
|
||||
return [MPIconHelper icon:(MPIconType)self.icon];
|
||||
}
|
||||
@end
|
||||
Reference in New Issue
Block a user