MESSENGER-5892 activate federation with wellknown

This commit is contained in:
JanNiklas Grabowski
2024-03-28 16:47:09 +01:00
parent e18e64d1c8
commit 6de4679041
3 changed files with 27 additions and 5 deletions
@@ -3075,7 +3075,7 @@ SSOAuthenticationPresenterDelegate>
MXKTableViewCellWithLabelAndSwitch *labelAndSwitchCell = [self getLabelAndSwitchCell:tableView forIndexPath:indexPath];
labelAndSwitchCell.mxkLabel.text = [BWIL10n bwiSettingsLabsFederationFeature];
labelAndSwitchCell.mxkSwitch.on = BWIBuildSettings.shared.isFederationEnabled;
labelAndSwitchCell.mxkSwitch.on = BWIBuildSettings.shared.isLabsFederationEnabled;
labelAndSwitchCell.mxkSwitch.thumbTintColor = ThemeService.shared.theme.backgroundColor;
labelAndSwitchCell.mxkSwitch.onTintColor = ThemeService.shared.theme.tintColor;
@@ -4027,7 +4027,7 @@ SSOAuthenticationPresenterDelegate>
// bwi: #5203 add federation feature
- (void)toggleEnableFederationFeature:(UISwitch *)sender
{
BWIBuildSettings.shared.isFederationEnabled = sender.isOn;
BWIBuildSettings.shared.isLabsFederationEnabled = sender.isOn;
}
- (void)markAllAsRead:(id)sender