Room Settings: Have proper room settings

- Room access
- History visibility

https://github.com/vector-im/vector-ios/issues/337
This commit is contained in:
giomfo
2016-06-30 13:30:53 +02:00
parent 6b0f51cf98
commit 376b207ba7
10 changed files with 887 additions and 66 deletions
@@ -783,7 +783,6 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
[enableAllCell.mxkSwitch removeTarget:self action:nil forControlEvents:UIControlEventTouchUpInside];
[enableAllCell.mxkSwitch addTarget:self action:@selector(togglePushNotifications:) forControlEvents:UIControlEventTouchUpInside];
[enableAllCell layoutIfNeeded];
cell = enableAllCell;
}
else if (row == NOTIFICATION_SETTINGS_GLOBAL_SETTINGS_INDEX)
@@ -937,7 +936,6 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
[sendCrashReportCell.mxkSwitch removeTarget:self action:nil forControlEvents:UIControlEventTouchUpInside];
[sendCrashReportCell.mxkSwitch addTarget:self action:@selector(toggleSendCrashReport:) forControlEvents:UIControlEventTouchUpInside];
[sendCrashReportCell layoutIfNeeded];
cell = sendCrashReportCell;
}
else if (row == OTHER_CLEAR_CACHE_INDEX)