mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
More 5.0 theme fixes
This commit is contained in:
@@ -64,7 +64,7 @@ fun View.setBackgroundTint(color: Int) {
|
||||
|
||||
// API 21 doesn't support this
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP_MR1) {
|
||||
background?.setColorFilter(color, PorterDuff.Mode.SRC_ATOP)
|
||||
background?.setColorFilter(color, PorterDuff.Mode.SRC_IN)
|
||||
}
|
||||
|
||||
backgroundTintList = ColorStateList.valueOf(color)
|
||||
|
||||
Reference in New Issue
Block a user