Update plugin ktlint to v12.1.0 (#2200)

* Update plugin ktlint to v12.1.0

* Run `./gradlew ktlintFormat` and fix some issues manually.

* Fix other issues reproted by Ktlint

* Limit false positives, KtLint removes unnecessary curly brace in String templates.

* Remove useless Unit

* Minor improvements over ktlint changes

* Restore `AlertDialogContent` behaviour

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
This commit is contained in:
renovate[bot] 2024-01-10 16:22:24 +01:00 committed by GitHub
parent 675cc525cf
commit 7e9cda3aa9
442 changed files with 1091 additions and 1081 deletions

View file

@ -22,7 +22,9 @@ import com.airbnb.android.showkase.ui.ShowkaseBrowserActivity
fun openShowkase(activity: Activity) {
val intent = Intent(activity, ShowkaseBrowserActivity::class.java)
intent.putExtra("SHOWKASE_ROOT_MODULE",
"io.element.android.libraries.designsystem.showkase.DesignSystemShowkaseRootModule")
intent.putExtra(
"SHOWKASE_ROOT_MODULE",
"io.element.android.libraries.designsystem.showkase.DesignSystemShowkaseRootModule"
)
activity.startActivity(intent)
}

View file

@ -38,5 +38,4 @@ class ComponentTestPreview(
.replace("Preview_", "_")
// Also for preview annotated with @ElementPreview
.replace("Preview-", "-")
}

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c5e1c5e15e6dea0a0893d1e8c01f47fa5d00d42b53d5f92b412a1a26f3ca7c45
size 22384
oid sha256:58a1ccfe8be228ad5afa5048b1290a76efa1fa71a7b3e92c14ff5f9691db5acf
size 22463

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c5e1c5e15e6dea0a0893d1e8c01f47fa5d00d42b53d5f92b412a1a26f3ca7c45
size 22384
oid sha256:58a1ccfe8be228ad5afa5048b1290a76efa1fa71a7b3e92c14ff5f9691db5acf
size 22463

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6316c40ccd726f58d24bee34238e785d6237a45ae8e4b50d33f9ccbf59ed9a79
size 22504
oid sha256:a943ce89198f9ed9b9339885f9a972bf39c5ffcccac18aeaadf73996922c9439
size 22581

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7188c2ab6aa4ba0ef3f52d296130e455aab65628b1beb153fb1829bd4bb896a2
size 20778
oid sha256:675c97e97a25f571a6bd1b735cdcaa7913f1f58d705fa030343d85a3ea73b2d8
size 21115

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7188c2ab6aa4ba0ef3f52d296130e455aab65628b1beb153fb1829bd4bb896a2
size 20778
oid sha256:675c97e97a25f571a6bd1b735cdcaa7913f1f58d705fa030343d85a3ea73b2d8
size 21115

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b55a82515f34ead38768210ff200fbbfc7e092f227e4699aa4e81391e5878b4a
size 20936
oid sha256:9a9a9b7fd85451d5217d69f88678287dc52fefefc2646325e75c5453155e3847
size 21259

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d8bdbbd3ca3e9f4306af4b3f2d07acd224b19fad5e42be32f0c934beb886796
size 13659
oid sha256:ad1c7ffb7f464a7a556a62a07db0b0cc4a83b235e7cef805207fce59221c4105
size 13817

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d8bdbbd3ca3e9f4306af4b3f2d07acd224b19fad5e42be32f0c934beb886796
size 13659
oid sha256:ad1c7ffb7f464a7a556a62a07db0b0cc4a83b235e7cef805207fce59221c4105
size 13817

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:910c7cb72c2303b71b4c3a399c13459c664e10ab424cde7a2686b76bacde808e
size 13866
oid sha256:a12a9edeaf5a9c27f08eeadd9125e3826db4dede36d83bb92a7964ef993ff650
size 14021

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dbf585208f96a8a2ecb969dee82825276188c9a2cf33331826528886a38f2d64
size 17665
oid sha256:d8d6efda343a0b67a6137938d62c966c03f568696c425a17e83bc63b462c457a
size 17772

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9a5d9189e14cdcd64d36b8887de838f12176d56f7e0bf3e91d9ece607a60cf63
size 26645
oid sha256:67321d32858776ac2e3d1d76b51f6259d787dfdeda7428a3e05977f99df64944
size 26690

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:95a4ced4dad40d976726af34e006357bb521121892d977b78148fb5e57d4e53a
size 28989
oid sha256:7ea0b07ac53a1b71991cfd88e122199b592b692df4c3b54cea3ddc6238af3f09
size 29026

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:218d20578824588a5b920832def83e8673c5537f408496327e098f1f16a59d2b
size 12510
oid sha256:0fe78a02fc8167a85be39bcf0b9ed5665306c1b7fafad0154fbc3e253035ad91
size 12996

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:218d20578824588a5b920832def83e8673c5537f408496327e098f1f16a59d2b
size 12510
oid sha256:0fe78a02fc8167a85be39bcf0b9ed5665306c1b7fafad0154fbc3e253035ad91
size 12996

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:96f8422de801a6382cf6b8e5a07e93feae4ca598465e43541c4e60569d7a07be
size 12702
oid sha256:174348888479c6a6a025e514b041fda0ba994e59ebc36fdabce5745a7c5a1c69
size 13185

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33ba6a9ea9c5bae04baef6cbcc1f7b458fbc833fc91c747feacf8df2d723f8d7
size 15928
oid sha256:554f09a1e56db06bc511224caf29f26d643634848588b74f13b52fdea8a68432
size 16390

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:228268861572b50075416a8404ccf77fa1a7c06601e30cecb831ae2b829ea1c0
size 23490
oid sha256:9190daaaabd5407fba50c9db4e9f6d606349ac67cc7fdc6c081151e2b3971a37
size 23927

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:759a6abdf9ffff8a6deadb46d67996e832fca3308edd651b351ae0b4e96b0114
size 25583
oid sha256:b18ab50180cd226eb71dc1c4caaa0a2435ce891d139073d602fb00097fc0682f
size 26080