Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

removed misplaced line #57

Merged
merged 1 commit into from Aug 30, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −3
Split
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]];