mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-24 12:19:52 +00:00
Refactored Autotype to use environment for better encapsulation of parameters
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
- (instancetype)initWithTargetApplication:(NSRunningApplication *)targetApplication entry:(KPKEntry *)entry {
|
||||
self = [super init];
|
||||
if(self) {
|
||||
_entry = entry;
|
||||
_preferredEntry = entry;
|
||||
if(!targetApplication) {
|
||||
_pid = -1;
|
||||
_windowTitle = @"";
|
||||
|
||||
Reference in New Issue
Block a user