Use non transitive R classes

This commit is contained in:
sim 2023-08-31 22:26:17 +02:00
parent 6d1285d448
commit 600dec2c69
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ class AppListAdapter(context: Context, private val resource: Int, apps: List<App
}
if (selectedItemsIds.get(position)) {
convertView?.setBackgroundColor(
MaterialColors.getColor(convertView, R.attr.colorOnTertiary)
MaterialColors.getColor(convertView, com.google.android.material.R.attr.colorOnTertiary)
)
} else {
convertView?.setBackgroundResource(0)

View File

@ -21,5 +21,5 @@ android.useAndroidX=true
kotlin.code.style=official
org.gradle.unsafe.configuration-cache=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonTransitiveRClass=true
android.nonFinalResIds=false