Skip to content

Commit

Permalink
Fix unused BoxWithConstraints in nav bar
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandarIlic committed Feb 28, 2024
1 parent a28e8a4 commit 694581a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.BoxWithConstraints
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.RowScope
Expand Down Expand Up @@ -116,7 +115,7 @@ fun PrimalNavigationBarLightningBolt(
)

Surface(color = Color.Transparent) {
BoxWithConstraints(
Box(
modifier = modifier.height(NavigationBarFullHeightDp),
contentAlignment = Alignment.BottomCenter,
) {
Expand Down

0 comments on commit 694581a

Please sign in to comment.