Silence kotlin warnings

This commit is contained in:
vvb2060
2020-10-15 17:50:35 +08:00
committed by topjohnwu
parent eb261c8026
commit 5833aadef5
5 changed files with 11 additions and 13 deletions
@@ -228,7 +228,7 @@ class MagiskDialog(
dismiss()
}
}
val items = list.mapIndexed { i, it -> DialogItem(it, i) }
val items = list.mapIndexed { i, cs -> DialogItem(cs, i) }
val binding = itemBindingOf<DialogItem> { it.bindExtra(BR.listener, actualListener) }
.let { ItemBinding.of(it) }