From efda086e1e1e01ec71e76e06d3518b5265433036 Mon Sep 17 00:00:00 2001 From: Natan Rolnik Date: Wed, 22 Jan 2025 17:23:56 +0200 Subject: [PATCH] Fix sentence in keep-menu-bar-running-after-quitting-app --- src/content/blog/keep-menu-bar-running-after-quitting-app.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/blog/keep-menu-bar-running-after-quitting-app.mdx b/src/content/blog/keep-menu-bar-running-after-quitting-app.mdx index 47c3551..543aeee 100644 --- a/src/content/blog/keep-menu-bar-running-after-quitting-app.mdx +++ b/src/content/blog/keep-menu-bar-running-after-quitting-app.mdx @@ -45,7 +45,7 @@ Unfortunately, the menu bar item will disappear as soon as the user quits the ap ## Interrupting the app's termination -As you will probably have guessed by now, the keep to keeping the menu bar item visible after the user quits the app is to not let the app terminate. +As you will probably have guessed by now, the way to keep the menu bar item visible after the user quits the app is to avoid the app termination. Apple provides developers with a way to control and modify the app's termination process by implementing the [applicationShouldTerminate]() method in the app's delegate. @@ -224,4 +224,4 @@ class AppDelegate: NSObject, NSApplicationDelegate { return .terminateCancel } } -``` \ No newline at end of file +```