fix: Clicking add a new URI button shows a popup even if there's only one option #232
This commit is contained in:
parent
8b9d939d21
commit
50a0d6f591
|
@ -1375,7 +1375,7 @@ private fun AddItem(
|
|||
val action = item.actions
|
||||
.firstNotNullOfOrNull { it as? FlatItemAction }
|
||||
action?.onClick?.invoke()
|
||||
return@run
|
||||
return@FlatItem
|
||||
}
|
||||
|
||||
dropdownShownState.value = true
|
||||
|
|
Loading…
Reference in New Issue