mirror of
https://github.com/MacPass/MacPass.git
synced 2026-01-31 17:48:16 +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)];
|
id<MPTargetNodeResolving> entryResolver = [NSApp targetForAction:@selector(currentTargetEntries)];
|
||||||
NSArray *entries = entryResolver.currentTargetEntries;
|
NSArray *entries = entryResolver.currentTargetEntries;
|
||||||
if(entries.count == 1) {
|
if(entries.count == 1) {
|
||||||
[[MPAutotypeDaemon defaultDaemon] performAutotypeForEntry:entries.firstObject];
|
[MPAutotypeDaemon.defaultDaemon performAutotypeForEntry:entries.firstObject];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user