mirror of
https://github.com/AChep/keyguard-app.git
synced 2025-01-31 14:34:52 +01:00
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…
x
Reference in New Issue
Block a user