project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m
changeset 4341 46b8791e577f
parent 4244 bf46b4bdf27d
child 4539 bad3411cba49
equal deleted inserted replaced
4339:58d4733c9cad 4341:46b8791e577f
   154             if (nil == editableCell) {
   154             if (nil == editableCell) {
   155                 editableCell = [[[EditableCellView alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellIdentifier0] autorelease];
   155                 editableCell = [[[EditableCellView alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellIdentifier0] autorelease];
   156                 editableCell.minimumCharacters = 0;
   156                 editableCell.minimumCharacters = 0;
   157                 editableCell.delegate = self;
   157                 editableCell.delegate = self;
   158                 editableCell.textField.font = [UIFont systemFontOfSize:[UIFont systemFontSize]];
   158                 editableCell.textField.font = [UIFont systemFontOfSize:[UIFont systemFontSize]];
   159                 editableCell.textField.textColor = [UIColor lightGrayColor];
   159                 editableCell.textField.textColor = [UIColor blackColor];
   160             }
   160             }
   161             
   161             
   162             if (row == 0) {
   162             if (row == 0) {
   163                 editableCell.titleLabel.text = NSLocalizedString(@"Nickname","from the settings table");
   163                 editableCell.titleLabel.text = NSLocalizedString(@"Nickname","from the settings table");
   164                 editableCell.textField.placeholder = NSLocalizedString(@"Insert your username (if you have one)",@"");
   164                 editableCell.textField.placeholder = NSLocalizedString(@"Insert your username (if you have one)",@"");