Use class property

This commit is contained in:
Michael Starke
2020-01-15 13:00:14 +01:00
parent 07ae4675d4
commit 77f3f23cfe

View File

@@ -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];
}
}