- Remove call notification toggle

This commit is contained in:
David Langley 2023-09-13 21:12:16 +01:00
parent a1a9b57df7
commit 7b8a73096c

View file

@ -154,16 +154,16 @@ private fun NotificationSettingsContentView(
onCheckedChange = onMentionNotificationsChanged onCheckedChange = onMentionNotificationsChanged
) )
} }
// We are removing the call notification toggle until call support has been added
PreferenceCategory(title = stringResource(id = CommonStrings.screen_notification_settings_additional_settings_section_title)) { // PreferenceCategory(title = stringResource(id = CommonStrings.screen_notification_settings_additional_settings_section_title)) {
PreferenceSwitch( // PreferenceSwitch(
modifier = Modifier, // modifier = Modifier,
title = stringResource(id = CommonStrings.screen_notification_settings_calls_label), // title = stringResource(id = CommonStrings.screen_notification_settings_calls_label),
isChecked = matrixSettings.callNotificationsEnabled, // isChecked = matrixSettings.callNotificationsEnabled,
switchAlignment = Alignment.Top, // switchAlignment = Alignment.Top,
onCheckedChange = onCallsNotificationsChanged // onCheckedChange = onCallsNotificationsChanged
) // )
} // }
} }
} }