mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-22 22:19:21 +00:00
Removed MPToken. Functionality will be added to KeePassKit
This commit is contained in:
@@ -109,10 +109,10 @@
|
||||
|
||||
- (NSTokenStyle)tokenField:(NSTokenField *)tokenField styleForRepresentedObject:(id)representedObject {
|
||||
if(tokenField == self.availableCommandsTokenField) {
|
||||
return NSTokenStyleDefault;
|
||||
return NSTokenStyleSquared;
|
||||
}
|
||||
if([representedObject hasPrefix:@"{"] || [representedObject hasSuffix:@"}"]) {
|
||||
return NSTokenStyleDefault;
|
||||
return NSTokenStyleSquared;
|
||||
}
|
||||
return NSTokenStyleNone;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user