Skip to content

Commit

Permalink
fixed issue with addedAmount
Browse files Browse the repository at this point in the history
int changed to NSNumber
  • Loading branch information
refaelos committed Feb 27, 2013
1 parent e1829ee commit 98a1cd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SoomlaiOSStore/EventHandling.m
Expand Up @@ -111,7 +111,7 @@ + (void)postChangedBalance:(int)balance forCurrency:(VirtualCurrency*)currency w
NSDictionary *userInfo = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithInt:balance], @"balance",
currency, @"VirtualCurrency",
amountAdded, @"amountAdded",
[NSNumber numberWithInt:amountAdded], @"amountAdded",
nil];
[[NSNotificationCenter defaultCenter] postNotificationName:EVENT_CHANGED_CURRENCY_BALANCE object:self userInfo:userInfo];
}
Expand All @@ -120,7 +120,7 @@ + (void)postChangedBalance:(int)balance forGood:(VirtualGood*)good withAmount:(i
NSDictionary *userInfo = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithInt:balance], @"balance",
good, @"VirtualGood",
amountAdded, @"amountAdded",
[NSNumber numberWithInt:amountAdded], @"amountAdded",
nil];
[[NSNotificationCenter defaultCenter] postNotificationName:EVENT_CHANGED_GOOD_BALANCE object:self userInfo:userInfo];
}
Expand Down

0 comments on commit 98a1cd6

Please sign in to comment.