Fix layout issue in notificaiton

This commit is contained in:
h4h13 2019-10-31 22:36:13 +05:30
parent 7410515d1e
commit 24fbc59b11
6 changed files with 6 additions and 52 deletions

View file

@ -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) {