Move notification_accent_color from resource file to NotificationConfig

This commit is contained in:
Benoit Marty
2024-06-19 16:40:33 +02:00
parent f308a8b9a2
commit e8c2902aa0
5 changed files with 12 additions and 30 deletions

View File

@@ -28,6 +28,7 @@ anvil {
}
dependencies {
implementation(libs.androidx.annotationjvm)
implementation(libs.dagger)
implementation(projects.libraries.di)
implementation(projects.libraries.matrix.api)

View File

@@ -16,6 +16,9 @@
package io.element.android.appconfig
import android.graphics.Color
import androidx.annotation.ColorInt
object NotificationConfig {
// TODO EAx Implement and set to true at some point
const val SUPPORT_MARK_AS_READ_ACTION = false
@@ -25,4 +28,7 @@ object NotificationConfig {
// TODO EAx Implement and set to true at some point
const val SUPPORT_QUICK_REPLY_ACTION = false
@ColorInt
val NOTIFICATION_ACCENT_COLOR: Int = Color.parseColor("#FF368BD6")
}