From 2c05607ba2ae306ecb2e7d28e4881386621f5e04 Mon Sep 17 00:00:00 2001 From: Mazyad Alabduljaleel Date: Sun, 3 Aug 2014 16:34:44 +0400 Subject: [PATCH] [FIX]: minor cleanups --- TLYShyNavBar/TLYShyNavBarManager.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/TLYShyNavBar/TLYShyNavBarManager.m b/TLYShyNavBar/TLYShyNavBarManager.m index 93ac118..1846e1f 100644 --- a/TLYShyNavBar/TLYShyNavBarManager.m +++ b/TLYShyNavBar/TLYShyNavBarManager.m @@ -113,7 +113,8 @@ static inline CGFloat AACStatusBarHeight() { _scrollView.delegate = _delegateProxy.originalDelegate; } - [[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationDidBecomeActiveNotification object:nil]; + + [[NSNotificationCenter defaultCenter] removeObserver:self]; } #pragma mark - Properties @@ -321,7 +322,7 @@ static inline CGFloat AACStatusBarHeight() [self _handleScrollingEnded]; } -#pragma mark - Application did become active method +#pragma mark - NSNotificationCenter methods - (void)applicationDidBecomeActive {