Hide overflows with no items (#746)

This commit is contained in:
David Perez 2024-01-24 08:59:42 -06:00 committed by Álison Fernandes
parent 27fea49b48
commit 45592a7369

View file

@ -42,6 +42,7 @@ import kotlinx.collections.immutable.persistentListOf
fun BitwardenOverflowActionItem(
menuItemDataList: ImmutableList<OverflowMenuItemData> = persistentListOf(),
) {
if (menuItemDataList.isEmpty()) return
var isOverflowMenuVisible by remember { mutableStateOf(false) }
Box(
contentAlignment = Alignment.Center,