project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m
changeset 6276 1e2f8da1860a
parent 6210 923c8414e3af
child 6420 86a2fe62f338
equal deleted inserted replaced
6274:a3e1eb794249 6276:1e2f8da1860a
   237                 case 2:
   237                 case 2:
   238                     cell.textLabel.text = NSLocalizedString(@"Classic Ammo Menu", @"");
   238                     cell.textLabel.text = NSLocalizedString(@"Classic Ammo Menu", @"");
   239                     cell.detailTextLabel.text = NSLocalizedString(@"Select which style of ammo menu you prefer",@"");
   239                     cell.detailTextLabel.text = NSLocalizedString(@"Select which style of ammo menu you prefer",@"");
   240                     switchContent.on = [[settings objectForKey:@"classic_menu"] boolValue];
   240                     switchContent.on = [[settings objectForKey:@"classic_menu"] boolValue];
   241                     switchContent.tag = 60;
   241                     switchContent.tag = 60;
   242                     // remove this when classic ammomenu works on iphone as well
       
   243                     if (IS_IPAD() == NO)
       
   244                         switchContent.enabled = NO;
       
   245                     break;
   242                     break;
   246                 default:
   243                 default:
   247                     DLog(@"Nope");
   244                     DLog(@"Nope");
   248                     break;
   245                     break;
   249             }
   246             }