From 84195254ecba6319a656e915eb18d5e8ebbf3f8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=20C=C5=93ur?= Date: Sun, 5 Jun 2022 07:42:32 +0800 Subject: [PATCH] Fix: "Cannot begin activity without reason string or empty reason string" (#3197) --- macosx/Controller.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 5bf0b5da4..d955599f8 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -778,7 +778,7 @@ static void removeKeRangerRansomware() NSApp.servicesProvider = self; self.fNoNapActivity = [NSProcessInfo.processInfo beginActivityWithOptions:NSActivityUserInitiatedAllowingIdleSystemSleep - reason:NSLocalizedString(@"No napping on the job!", nil)]; + reason:@"No napping on the job!"]; //register for dock icon drags (has to be in applicationDidFinishLaunching: to work) [[NSAppleEventManager sharedAppleEventManager] setEventHandler:self andSelector:@selector(handleOpenContentsEvent:replyEvent:)