Fix warning
This commit is contained in:
parent
8ee422508b
commit
760ca8e810
1 changed files with 2 additions and 2 deletions
|
|
@ -7,8 +7,8 @@
|
||||||
|
|
||||||
package io.element.android.appconfig
|
package io.element.android.appconfig
|
||||||
|
|
||||||
import android.graphics.Color
|
|
||||||
import androidx.annotation.ColorInt
|
import androidx.annotation.ColorInt
|
||||||
|
import androidx.core.graphics.toColorInt
|
||||||
|
|
||||||
object NotificationConfig {
|
object NotificationConfig {
|
||||||
/**
|
/**
|
||||||
|
|
@ -27,5 +27,5 @@ object NotificationConfig {
|
||||||
const val SHOW_QUICK_REPLY_ACTION = true
|
const val SHOW_QUICK_REPLY_ACTION = true
|
||||||
|
|
||||||
@ColorInt
|
@ColorInt
|
||||||
val NOTIFICATION_ACCENT_COLOR: Int = Color.parseColor("#FF0DBD8B")
|
val NOTIFICATION_ACCENT_COLOR: Int = "#FF0DBD8B".toColorInt()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue