update ktlint plugin to 11.3.1, format code (#3442)

This commit is contained in:
Konrad Pozniak 2023-03-13 13:16:39 +01:00 committed by GitHub
commit d839f18267
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
141 changed files with 589 additions and 428 deletions

View file

@ -40,12 +40,15 @@ class LicenseCard
setCardBackgroundColor(MaterialColors.getColor(context, com.google.android.material.R.attr.colorSurface, Color.BLACK))
val (name, license, link) = context.theme.obtainStyledAttributes(
attrs, R.styleable.LicenseCard, 0, 0
attrs,
R.styleable.LicenseCard,
0,
0
).use { a ->
Triple(
a.getString(R.styleable.LicenseCard_name),
a.getString(R.styleable.LicenseCard_license),
a.getString(R.styleable.LicenseCard_link),
a.getString(R.styleable.LicenseCard_link)
)
}