mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-10-02 09:52:10 +01:00
Fix message notification vibration toggle bug
Closes signalapp/Signal-Android#14969
This commit is contained in:
+2
-2
@@ -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
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user