Fix some warnings & recreate lint-baseline.xml (#4278)

This commit is contained in:
Konrad Pozniak 2024-02-25 16:20:26 +01:00 committed by GitHub
commit 6249b53718
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 119 additions and 75 deletions

View file

@ -35,7 +35,7 @@ suspend fun AlertDialog.await(
positiveText: String,
negativeText: String? = null,
neutralText: String? = null
) = suspendCancellableCoroutine<Int> { cont ->
) = suspendCancellableCoroutine { cont ->
val listener = DialogInterface.OnClickListener { _, which ->
cont.resume(which) { dismiss() }
}