Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cwRichardKim committed Dec 29, 2014
1 parent bae993f commit 585bee9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Binary file not shown.
10 changes: 5 additions & 5 deletions RKNotificationHub/RKNotificationHub.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ @implementation RKNotificationHub {
UIView *redCircle;
CGPoint initialCenter;
CGRect initialFrame;
BOOL isIntermediatMode;
BOOL isIndeterminateMode;
}
@synthesize hubView;

Expand All @@ -55,7 +55,7 @@ -(void)setView:(UIView *)view andCount:(int)startCount
{
CGRect frame = view.frame;

isIntermediatMode = NO;
isIndeterminateMode = NO;

redCircle = [[UIView alloc]init];
redCircle.userInteractionEnabled = NO;
Expand Down Expand Up @@ -118,13 +118,13 @@ -(void)setCircleColor:(UIColor*)circleColor labelColor:(UIColor*)labelColor
-(void)hideCount
{
countLabel.hidden = YES;
isIntermediatMode = YES;
isIndeterminateMode = YES;
}

-(void)showCount
{
countLabel.hidden = NO;
isIntermediatMode = NO;
isIndeterminateMode = NO;
}

#pragma mark - ATTRIBUTES
Expand Down Expand Up @@ -337,7 +337,7 @@ -(void)checkZero
countLabel.hidden = YES;
} else {
redCircle.hidden = NO;
if (!isIntermediatMode) {
if (!isIndeterminateMode) {
countLabel.hidden = NO;
}
}
Expand Down

0 comments on commit 585bee9

Please sign in to comment.