Fix minor dialog bug where top is not padded if title is missing (#1221)

This commit is contained in:
David Perez 2024-04-03 15:46:39 -05:00 committed by Álison Fernandes
parent 87254b4436
commit 7f331a5ff2

View file

@ -78,8 +78,8 @@ fun BitwardenTwoButtonDialog(
), ),
horizontalAlignment = Alignment.End, horizontalAlignment = Alignment.End,
) { ) {
title?.let {
Spacer(modifier = Modifier.height(24.dp)) Spacer(modifier = Modifier.height(24.dp))
title?.let {
Text( Text(
modifier = Modifier modifier = Modifier
.padding(horizontal = 24.dp) .padding(horizontal = 24.dp)