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