mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Code cleaning
This commit is contained in:
parent
64f1954b3f
commit
16e2c58e3e
3 changed files with 1 additions and 29 deletions
|
@ -26,7 +26,7 @@
|
|||
|
||||
#import <AudioToolbox/AudioToolbox.h>
|
||||
|
||||
//#define MX_CALL_STACK_OPENWEBRTC
|
||||
#define MX_CALL_STACK_OPENWEBRTC
|
||||
#ifdef MX_CALL_STACK_OPENWEBRTC
|
||||
#import <MatrixOpenWebRTCWrapper/MatrixOpenWebRTCWrapper.h>
|
||||
#endif
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
@interface RecentsViewController ()
|
||||
{
|
||||
|
||||
// Recents refresh handling
|
||||
BOOL shouldScrollToTopOnRefresh;
|
||||
|
||||
|
|
Loading…
Reference in a new issue