Fix some warnings & recreate lint-baseline.xml (#4278)
This commit is contained in:
parent
c666a6b534
commit
6249b53718
16 changed files with 119 additions and 75 deletions
|
|
@ -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() }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue