Skip to content

Commit

Permalink
Simplify first check code
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgio Calderolla committed May 4, 2014
1 parent e0a881f commit cc8ebc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CTCAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ @implementation CTCAppDelegate
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
// Create preferences and set default values
[CTCDefaults setDefaultDefaults];

// Valid config? Check feed right now
if (CTCDefaults.isConfigurationValid) [CTCScheduler.sharedScheduler forceCheck];
}

- (void)applicationWillTerminate:(NSNotification *)aNotification {
Expand Down
3 changes: 3 additions & 0 deletions CTCScheduler.m
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ - (id)init {
selector:@selector(tick:)
userInfo:nil
repeats:YES];

// Fire the timer ASAP
[self.repeatingTimer setFireDate:NSDate.distantPast];

return self;
}
Expand Down

0 comments on commit cc8ebc2

Please sign in to comment.