Permalink
Browse files

Fix bug in previous checkin

  • Loading branch information...
1 parent c640665 commit f4d0d6f5f4a3d10333611963feb6e8800b9927f5 @mmorearty mmorearty committed Apr 20, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 Appirater.m
View
@@ -338,6 +338,7 @@ + (void)rateApp {
#if TARGET_IPHONE_SIMULATOR
NSLog(@"APPIRATER NOTE: iTunes App Store is not supported on the iOS simulator. Unable to open App Store page.");
#else
+ NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
NSString *reviewURL = [templateReviewURL stringByReplacingOccurrencesOfString:@"APP_ID" withString:[NSString stringWithFormat:@"%d", APPIRATER_APP_ID]];
[userDefaults setBool:YES forKey:kAppiraterRatedCurrentVersion];
[userDefaults synchronize];

0 comments on commit f4d0d6f

Please sign in to comment.