diff --git a/MacPass/MPAppDelegate.m b/MacPass/MPAppDelegate.m index 943b234c..645047cd 100644 --- a/MacPass/MPAppDelegate.m +++ b/MacPass/MPAppDelegate.m @@ -330,6 +330,10 @@ NSString *const MPDidChangeStoredKeyFilesSettings = @"com.hicknhack.macpass.MPDi if(showWelcomeScreen) { [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 diff --git a/MacPass/MPAutotypeDaemon.m b/MacPass/MPAutotypeDaemon.m index ebcd16c8..f2857cf4 100644 --- a/MacPass/MPAutotypeDaemon.m +++ b/MacPass/MPAutotypeDaemon.m @@ -96,7 +96,6 @@ static MPAutotypeDaemon *_sharedInstance; name:NSWorkspaceDidDeactivateApplicationNotification object:nil]; } - [self checkForAccessibiltyPermissions]; return self; }