diff --git a/MacPass/MPContextBarViewController.m b/MacPass/MPContextBarViewController.m index 541cfc7e..7e06349d 100644 --- a/MacPass/MPContextBarViewController.m +++ b/MacPass/MPContextBarViewController.m @@ -70,7 +70,7 @@ typedef NS_ENUM(NSUInteger, MPContextTab) { #pragma mark Livecycle - (void)dealloc { - [[NSNotificationCenter defaultCenter] removeObserver:self]; + [NSNotificationCenter.defaultCenter removeObserver:self]; } - (void)awakeFromNib {