2021-08-04 16:21:26 +00:00
|
|
|
package org.thoughtcrime.securesms.components.settings.conversation.sounds.custom
|
|
|
|
|
|
|
|
import android.net.Uri
|
2022-11-29 15:47:12 +00:00
|
|
|
import org.thoughtcrime.securesms.database.RecipientTable
|
2022-05-10 18:47:59 +00:00
|
|
|
import org.thoughtcrime.securesms.recipients.Recipient
|
2021-08-04 16:21:26 +00:00
|
|
|
|
|
|
|
data class CustomNotificationsSettingsState(
|
|
|
|
val isInitialLoadComplete: Boolean = false,
|
2022-05-10 18:47:59 +00:00
|
|
|
val recipient: Recipient? = null,
|
2021-08-04 16:21:26 +00:00
|
|
|
val hasCustomNotifications: Boolean = false,
|
2021-08-06 14:40:09 +00:00
|
|
|
val controlsEnabled: Boolean = false,
|
2022-11-29 15:47:12 +00:00
|
|
|
val messageVibrateState: RecipientTable.VibrateState = RecipientTable.VibrateState.DEFAULT,
|
2021-08-04 16:21:26 +00:00
|
|
|
val messageVibrateEnabled: Boolean = false,
|
|
|
|
val messageSound: Uri? = null,
|
2022-11-29 15:47:12 +00:00
|
|
|
val callVibrateState: RecipientTable.VibrateState = RecipientTable.VibrateState.DEFAULT,
|
2021-08-04 16:21:26 +00:00
|
|
|
val callSound: Uri? = null,
|
2023-02-06 15:04:40 +00:00
|
|
|
val showCallingOptions: Boolean = false
|
2021-08-04 16:21:26 +00:00
|
|
|
)
|