mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-25 06:29:27 +00:00
Started creation of Autotype out of normalized command strings
This commit is contained in:
@@ -28,8 +28,9 @@
|
||||
- (instancetype)initWithEntry:(KPKEntry *)entry andSequence:(NSString *)sequence {
|
||||
self = [super init];
|
||||
if(self) {
|
||||
_command = [[sequence normalizedAutotypeSequence] copy];
|
||||
_command = [sequence copy];
|
||||
_entry = entry;
|
||||
_normalizedCommand = [[sequence normalizedAutotypeSequence] copy];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
@@ -39,4 +40,8 @@
|
||||
return copy;
|
||||
}
|
||||
|
||||
- (BOOL)isValid {
|
||||
return (self.normalizedCommand != nil);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user