equal
deleted
inserted
replaced
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)",@""); |