mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-28 20:26:57 +02:00
Code cleaning
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user