From e8573431cfa4cbb50e8f7ecc1f0a2a5211c0f7ff Mon Sep 17 00:00:00 2001 From: michael starke Date: Thu, 19 Oct 2017 17:06:25 +0200 Subject: [PATCH] using class property --- MacPass/MPAppDelegate.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MacPass/MPAppDelegate.m b/MacPass/MPAppDelegate.m index a2878fad..196f4505 100644 --- a/MacPass/MPAppDelegate.m +++ b/MacPass/MPAppDelegate.m @@ -78,7 +78,7 @@ NSString *const MPHelpURLKey = @"MPHelpURL"; - (void)dealloc { [self unbind:NSStringFromSelector(@selector(isAllowedToStoreKeyFile))]; - [[NSNotificationCenter defaultCenter] removeObserver:self]; + [NSNotificationCenter.defaultCenter removeObserver:self]; } #pragma mark Properties