Fix layout issue in notificaiton
This commit is contained in:
parent
7410515d1e
commit
24fbc59b11
6 changed files with 6 additions and 52 deletions
|
@ -139,12 +139,8 @@ class PlayingNotificationOreo : PlayingNotification() {
|
|||
}
|
||||
|
||||
private fun setBackgroundColor(color: Int) {
|
||||
|
||||
notificationLayout.setInt(R.id.image, "setBackgroundColor", color)
|
||||
notificationLayoutBig.setInt(R.id.image, "setBackgroundColor", color)
|
||||
|
||||
notificationLayout.setInt(R.id.foregroundImage, "setColorFilter", color)
|
||||
notificationLayoutBig.setInt(R.id.foregroundImage, "setColorFilter", color)
|
||||
}
|
||||
|
||||
private fun setNotificationContent(dark: Boolean) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue