From 9fa92d33a14927dc1205fdc976bcc0fa11a0fd94 Mon Sep 17 00:00:00 2001 From: Andrea Bruno Date: Sat, 29 Aug 2026 08:20:18 +0000 Subject: [PATCH] Fix message notification vibration toggle bug Closes signalapp/Signal-Android#14969 --- .../app/notifications/NotificationsSettingsFragment.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) }