Skip to content

Commit

Permalink
Fix: Alternative navigation bar item
Browse files Browse the repository at this point in the history
  • Loading branch information
machiav3lli committed Jan 12, 2024
1 parent 6c5845c commit 671da90
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.RowScope
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.pager.HorizontalPager
Expand Down Expand Up @@ -117,7 +116,6 @@ fun RowScope.AltNavBarItem(
horizontalArrangement = Arrangement.Center,
) {
Column(
modifier = modifier.fillMaxSize(),
verticalArrangement = Arrangement.Center,
horizontalAlignment = Alignment.CenterHorizontally,
) {
Expand All @@ -139,7 +137,7 @@ fun RowScope.AltNavBarItem(
style = MaterialTheme.typography.bodyMedium,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
color = MaterialTheme.colorScheme.onSurface,
color = iconColor,
)
}
}
Expand Down

0 comments on commit 671da90

Please sign in to comment.