Enable all notification actions.
This commit is contained in:
parent
7217cc108b
commit
4525f97be6
1 changed files with 12 additions and 6 deletions
|
|
@ -11,14 +11,20 @@ import android.graphics.Color
|
||||||
import androidx.annotation.ColorInt
|
import androidx.annotation.ColorInt
|
||||||
|
|
||||||
object NotificationConfig {
|
object NotificationConfig {
|
||||||
// TODO EAx Implement and set to true at some point
|
/**
|
||||||
const val SUPPORT_MARK_AS_READ_ACTION = false
|
* If set to true, the notification will have a "Mark as read" action.
|
||||||
|
*/
|
||||||
|
const val SUPPORT_MARK_AS_READ_ACTION = true
|
||||||
|
|
||||||
// TODO EAx Implement and set to true at some point
|
/**
|
||||||
const val SUPPORT_JOIN_DECLINE_INVITE = false
|
* If set to true, the notification for invitation will have two actions to accept or decline the invite.
|
||||||
|
*/
|
||||||
|
const val SUPPORT_JOIN_DECLINE_INVITE = true
|
||||||
|
|
||||||
// TODO EAx Implement and set to true at some point
|
/**
|
||||||
const val SUPPORT_QUICK_REPLY_ACTION = false
|
* If set to true, the notification will have a "Quick reply" action, allow to compose and send a message to the room.
|
||||||
|
*/
|
||||||
|
const val SUPPORT_QUICK_REPLY_ACTION = true
|
||||||
|
|
||||||
@ColorInt
|
@ColorInt
|
||||||
val NOTIFICATION_ACCENT_COLOR: Int = Color.parseColor("#FF0DBD8B")
|
val NOTIFICATION_ACCENT_COLOR: Int = Color.parseColor("#FF0DBD8B")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue