fix: Clicking add a new URI button shows a popup even if there's only one option #232

This commit is contained in:
Artem Chepurnoy 2024-03-30 09:07:26 +02:00
parent 8b9d939d21
commit 50a0d6f591
No known key found for this signature in database
GPG Key ID: FAC37D0CF674043E
1 changed files with 1 additions and 1 deletions

View File

@ -1375,7 +1375,7 @@ private fun AddItem(
val action = item.actions val action = item.actions
.firstNotNullOfOrNull { it as? FlatItemAction } .firstNotNullOfOrNull { it as? FlatItemAction }
action?.onClick?.invoke() action?.onClick?.invoke()
return@run return@FlatItem
} }
dropdownShownState.value = true dropdownShownState.value = true