project_files/HedgewarsMobile/Classes/Appirater.m
changeset 6246 6b2d19ed521a
parent 6078 8c0cc07731e5
child 6832 fae8fd118da9
--- a/project_files/HedgewarsMobile/Classes/Appirater.m	Sun Oct 30 23:24:36 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/Appirater.m	Mon Oct 31 01:44:32 2011 +0100
@@ -37,7 +37,6 @@
 #import "Appirater.h"
 #import <SystemConfiguration/SCNetworkReachability.h>
 #import <netinet/in.h>
-#import "ServerSetup.h"
 
 NSString *const kAppiraterLaunchDate            = @"kAppiraterLaunchDate";
 NSString *const kAppiraterLaunchCount           = @"kAppiraterLaunchCount";
@@ -106,7 +105,7 @@
              launchCount > LAUNCHES_UNTIL_PROMPT &&
              !declinedToRate &&
              !ratedApp) {
-            if ([ServerSetup isNetworkReachable]) {	// check if they can reach the app store
+            if ([HWUtils isNetworkReachable]) {	// check if they can reach the app store
                 willShowPrompt = YES;
                 [self performSelectorOnMainThread:@selector(showPrompt) withObject:nil waitUntilDone:NO];
             }