removed unnecessary method

This commit is contained in:
Michael Starke
2020-01-15 12:59:39 +01:00
parent df68d0140f
commit f2279863db

View File

@@ -152,7 +152,7 @@ static MPAutotypeDaemon *_sharedInstance;
}
- (void)_didPressHotKey {
[self _updateTargetInformationForFrontMostApplication];
[self _updateTargeInformationForApplication:NSWorkspace.sharedWorkspace.frontmostApplication];
[self _performAutotypeForEntry:nil];
}
@@ -427,10 +427,6 @@ static MPAutotypeDaemon *_sharedInstance;
return NO;
}
- (void)_updateTargetInformationForFrontMostApplication {
[self _updateTargeInformationForApplication:NSWorkspace.sharedWorkspace.frontmostApplication];
}
- (void)_updateTargeInformationForApplication:(NSRunningApplication *)application {
if(!application) {
self.targetPID = -1;