Fix message notification vibration toggle bug

Closes signalapp/Signal-Android#14969
This commit is contained in:
Andrea Bruno
2026-09-30 13:34:02 -03:00
committed by Alex Hart
parent 6cce9a3b57
commit 9fa92d33a1
@@ -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
)
}