diff --git a/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate b/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate index b546c1b..68291c9 100644 Binary files a/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate and b/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Clocker/BackgroundView.m b/Clocker/BackgroundView.m index aeb1911..9e2fe55 100755 --- a/Clocker/BackgroundView.m +++ b/Clocker/BackgroundView.m @@ -119,8 +119,6 @@ - (void)shouldHideButtons:(BOOL)shouldHide { PanelController *controller = [self getPanelControllerInstance]; - - [controller showOptions:shouldHide]; if (!shouldHide){ [controller removeContextHelpForSlider]; diff --git a/Clocker/CLParentPanelController.h b/Clocker/CLParentPanelController.h index 40f860f..5e58f4d 100644 --- a/Clocker/CLParentPanelController.h +++ b/Clocker/CLParentPanelController.h @@ -35,7 +35,6 @@ @property (strong, nonatomic) CLAppFeedbackWindowController *feedbackWindow; - (void)updateDefaultPreferences; -- (void)showOptions:(BOOL)value; - (void)removeContextHelpForSlider; - (void)updatePanelColor; - (void)openPreferenceWindowWithValue:(BOOL)value; diff --git a/Clocker/CLParentPanelController.m b/Clocker/CLParentPanelController.m index f24812c..54d4456 100644 --- a/Clocker/CLParentPanelController.m +++ b/Clocker/CLParentPanelController.m @@ -148,23 +148,6 @@ NSString *const CLYesWithExclamation = @"Yes!"; } } - -- (void)showOptions:(BOOL)value -{ - - if (self.defaultPreferences.count == 0) - { - value = YES; - } - - dispatch_async(dispatch_get_main_queue(), ^{ - self.shutdownButton.hidden = !value; - self.preferencesButton.hidden = !value; - }); - -} - - - (IBAction)sliderMoved:(id)sender { NSCalendar *currentCalendar = [NSCalendar autoupdatingCurrentCalendar]; diff --git a/Clocker/PanelController.m b/Clocker/PanelController.m index 099bda1..a53b29e 100755 --- a/Clocker/PanelController.m +++ b/Clocker/PanelController.m @@ -318,22 +318,6 @@ static PanelController *sharedPanel = nil; } -#pragma mark - -#pragma mark Hiding Buttons on Mouse Exit -#pragma mark - - -- (void)showOptions:(BOOL)value -{ - if (self.defaultPreferences.count == 0) - { - value = YES; - } - - self.shutdownButton.hidden = !value; - self.preferencesButton.hidden = !value; - -} - + (instancetype)getPanelControllerInstance { __block PanelController *panelController;