adding a crashfix

This commit is contained in:
tibbi 2022-11-12 21:37:57 +01:00
parent 44470daf53
commit 352cef66ed

View file

@ -128,7 +128,7 @@ class RecordingsAdapter(
private fun askConfirmDelete() {
val itemsCnt = selectedKeys.size
val firstItem = getSelectedItems().first()
val firstItem = getSelectedItems().firstOrNull() ?: return
val items = if (itemsCnt == 1) {
"\"${firstItem.title}\""
} else {