[MM-58455] Add error handling when FocusStatus is not authorized on macOS (#3053)
* [MM-58455] Add error handling when FocusStatus is not authorized on macOS * Do the permission check very early so that it's less likely for users to miss it * Move permissions check to initialize
This commit is contained in:
@@ -143,6 +143,7 @@ jest.mock('main/CriticalErrorHandler', () => ({
|
||||
}));
|
||||
jest.mock('main/notifications', () => ({
|
||||
displayDownloadCompleted: jest.fn(),
|
||||
getDoNotDisturb: jest.fn(),
|
||||
}));
|
||||
jest.mock('main/ParseArgs', () => jest.fn());
|
||||
jest.mock('common/servers/serverManager', () => ({
|
||||
|
Reference in New Issue
Block a user