diff --git a/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/notifications/NotificationsSettingsFragment.kt b/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/notifications/NotificationsSettingsFragment.kt index 1bcfcff74a..3fefb4fd74 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/notifications/NotificationsSettingsFragment.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/components/settings/app/notifications/NotificationsSettingsFragment.kt @@ -218,7 +218,7 @@ open class DefaultNotificationsSettingsCallbacks( } override fun setMessageNotificationVibration(enabled: Boolean) { - viewModel.setMessageNotificationsEnabled(enabled) + viewModel.setMessageNotificationVibration(enabled) } override fun setMessasgeNotificationLedColor(selection: String) { @@ -457,7 +457,7 @@ fun NotificationsSettingsScreen( text = stringResource(R.string.preferences__vibrate), checked = state.messageNotificationsState.vibrateEnabled, enabled = state.messageNotificationsState.notificationsEnabled, - onCheckChanged = callbacks::setMessageNotificationsEnabled + onCheckChanged = callbacks::setMessageNotificationVibration ) }