mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 01:12:31 +00:00
Movde check for autotype back in the app launch to prevent it from being hidden unter other windows
This commit is contained in:
@@ -330,6 +330,10 @@ NSString *const MPDidChangeStoredKeyFilesSettings = @"com.hicknhack.macpass.MPDi
|
|||||||
if(showWelcomeScreen) {
|
if(showWelcomeScreen) {
|
||||||
[self showWelcomeWindow];
|
[self showWelcomeWindow];
|
||||||
}
|
}
|
||||||
|
/* run check for accessibilty after the windowserver should have presented the UI */
|
||||||
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.25 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||||
|
[MPAutotypeDaemon.defaultDaemon checkForAccessibiltyPermissions];
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -96,7 +96,6 @@ static MPAutotypeDaemon *_sharedInstance;
|
|||||||
name:NSWorkspaceDidDeactivateApplicationNotification
|
name:NSWorkspaceDidDeactivateApplicationNotification
|
||||||
object:nil];
|
object:nil];
|
||||||
}
|
}
|
||||||
[self checkForAccessibiltyPermissions];
|
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user