Permalink
Browse files

removed misplaced line

  • Loading branch information...
1 parent b57fa71 commit 95a23fdaff151b5ac6be3bf5716eea3eeb1beb5a @Gerharbo committed Aug 30, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 Appirater.m
View
@@ -327,7 +327,7 @@ + (void)rateApp {
#else
NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
- // added work arround for wrong URL Scheme & iOS 6
+ // added work arround for wrong URL Scheme used in new App store on iOS 6
NSString *reviewURL;
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 6.0) {
reviewURL = [templateReviewURLiOS6 stringByReplacingOccurrencesOfString:@"APP_ID" withString:[NSString stringWithFormat:@"%d", APPIRATER_APP_ID]];
@@ -338,8 +338,6 @@ + (void)rateApp {
reviewURL = [templateReviewURL stringByReplacingOccurrencesOfString:@"APP_ID" withString:[NSString stringWithFormat:@"%d", APPIRATER_APP_ID]];
}
- [[NSLocale preferredLanguages] objectAtIndex:0]
-
[userDefaults setBool:YES forKey:kAppiraterRatedCurrentVersion];
[userDefaults synchronize];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:reviewURL]];

0 comments on commit 95a23fd

Please sign in to comment.