adding a crashfix
This commit is contained in:
parent
44470daf53
commit
352cef66ed
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue