project_files/HedgewarsMobile/Classes/MapPreviewButtonView.m
changeset 4082 bfe14b38dad1
parent 3910 dd47efbdec46
child 4356 d1d26f8963a3
--- a/project_files/HedgewarsMobile/Classes/MapPreviewButtonView.m	Mon Nov 01 13:02:39 2010 -0400
+++ b/project_files/HedgewarsMobile/Classes/MapPreviewButtonView.m	Mon Nov 01 18:51:38 2010 +0100
@@ -196,10 +196,9 @@
     [self setTitle:nil forState:UIControlStateNormal];
     
     // don't display preview on slower device, too slow and memory hog
-    NSString *modelId = modelType();
-    if ([modelId hasPrefix:@"iPhone1"] || [modelId hasPrefix:@"iPod1,1"] || [modelId hasPrefix:@"iPod2,1"]) {
-        //self.delegate.busy = NO;
+    if (IS_NOT_POWERFUL()) {
         [self setTitle:NSLocalizedString(@"Preview not available",@"") forState:UIControlStateNormal];
+        [self turnOnWidgets];
     } else {        
         // add a very nice spinning wheel
         UIActivityIndicatorView *indicator = [[UIActivityIndicatorView alloc]