Code cleaning

This commit is contained in:
giomfo
2015-08-11 14:42:09 +02:00
parent 64f1954b3f
commit 16e2c58e3e
3 changed files with 1 additions and 29 deletions
@@ -78,16 +78,6 @@
globalNotifSettingsButton = globalNotifSettingsBtnCell.mxkButton;
cell = globalNotifSettingsBtnCell;
// MXKTableViewCellWithTextView *userInfoCell = [tableView dequeueReusableCellWithIdentifier:[MXKTableViewCellWithTextView defaultReuseIdentifier]];
// if (!userInfoCell)
// {
// userInfoCell = [[MXKTableViewCellWithTextView alloc] init];
// }
//
// userInfoCell.mxkTextView.text = NSLocalizedStringFromTable(@"settings_webclient_push", @"MatrixConsole", nil);
// cell = userInfoCell;
}
else
{
@@ -100,23 +90,6 @@
#pragma mark - TableView delegate
//- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
//{
// if (indexPath.section == notificationsSection)
// {
// if (indexPath.row == globalNotificationSettingsRowIndex)
// {
// UITextView *textView = [[UITextView alloc] initWithFrame:CGRectMake(0, 0, tableView.frame.size.width, MAXFLOAT)];
// textView.font = [UIFont systemFontOfSize:14];
// textView.text = NSLocalizedStringFromTable(@"settings_webclient_push", @"MatrixConsole", nil);
// CGSize contentSize = [textView sizeThatFits:textView.frame.size];
// return contentSize.height + 1;
// }
// }
//
// return [super tableView:tableView heightForRowAtIndexPath:indexPath];
//}
- (void)onButtonPressed:(id)sender
{
if (sender == globalNotifSettingsButton)