Merge pull request #10918 from Stypox/non-transitive-r

Migrate to non-transitive R classes
This commit is contained in:
Stypox 2024-05-08 10:35:08 +02:00 committed by GitHub
commit e37336eef2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 101 additions and 68 deletions

View file

@ -549,7 +549,7 @@ class FeedFragment : BaseStateFragment<FeedState>() {
var typeface = Typeface.DEFAULT
var backgroundSupplier = { ctx: Context ->
resolveDrawable(ctx, R.attr.selectableItemBackground)
resolveDrawable(ctx, android.R.attr.selectableItemBackground)
}
if (doCheck) {
// If the uploadDate is null or true we should highlight the item
@ -562,7 +562,7 @@ class FeedFragment : BaseStateFragment<FeedState>() {
LayerDrawable(
arrayOf(
resolveDrawable(ctx, R.attr.dashed_border),
resolveDrawable(ctx, R.attr.selectableItemBackground)
resolveDrawable(ctx, android.R.attr.selectableItemBackground)
)
)
}