mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-22 06:59:30 +00:00
Use class property
This commit is contained in:
@@ -491,7 +491,7 @@ typedef void (^MPPasswordChangedBlock)(BOOL didChangePassword);
|
||||
id<MPTargetNodeResolving> entryResolver = [NSApp targetForAction:@selector(currentTargetEntries)];
|
||||
NSArray *entries = entryResolver.currentTargetEntries;
|
||||
if(entries.count == 1) {
|
||||
[[MPAutotypeDaemon defaultDaemon] performAutotypeForEntry:entries.firstObject];
|
||||
[MPAutotypeDaemon.defaultDaemon performAutotypeForEntry:entries.firstObject];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user