Enable non transitive R class
This commit is contained in:
parent
776d5d36f6
commit
dcb9b1cb1f
@ -403,10 +403,18 @@ class ArticleFragment : Fragment(), DIAware {
|
||||
binding.webcontent.visibility = View.VISIBLE
|
||||
|
||||
val colorOnSurface = TypedValue()
|
||||
requireContext().theme.resolveAttribute(R.attr.colorOnSurface, colorOnSurface, true)
|
||||
requireContext().theme.resolveAttribute(
|
||||
com.google.android.material.R.attr.colorOnSurface,
|
||||
colorOnSurface,
|
||||
true
|
||||
)
|
||||
|
||||
val colorSurface = TypedValue()
|
||||
requireContext().theme.resolveAttribute(R.attr.colorSurface, colorSurface, true)
|
||||
requireContext().theme.resolveAttribute(
|
||||
com.google.android.material.R.attr.colorSurface,
|
||||
colorSurface,
|
||||
true
|
||||
)
|
||||
|
||||
binding.webcontent.settings.useWideViewPort = true
|
||||
binding.webcontent.settings.loadWithOverviewMode = true
|
||||
|
@ -19,7 +19,7 @@ kotlin.code.style=official
|
||||
android.useAndroidX=true
|
||||
#android.nonTransitiveRClass=true
|
||||
android.enableJetifier=true
|
||||
android.nonTransitiveRClass=false
|
||||
android.nonTransitiveRClass=true
|
||||
#MPP
|
||||
kotlin.mpp.enableCInteropCommonization=true
|
||||
org.gradle.parallel=true
|
||||
|
Loading…
Reference in New Issue
Block a user