Skip to content

Commit 671da90

Browse files
committed
Fix: Alternative navigation bar item
1 parent 6c5845c commit 671da90

File tree

1 file changed

+1
-3
lines changed
  • app/src/main/java/com/machiav3lli/backup/ui/navigation

1 file changed

+1
-3
lines changed

app/src/main/java/com/machiav3lli/backup/ui/navigation/Pager.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import androidx.compose.foundation.layout.Arrangement
1313
import androidx.compose.foundation.layout.Column
1414
import androidx.compose.foundation.layout.Row
1515
import androidx.compose.foundation.layout.RowScope
16-
import androidx.compose.foundation.layout.fillMaxSize
1716
import androidx.compose.foundation.layout.padding
1817
import androidx.compose.foundation.layout.size
1918
import androidx.compose.foundation.pager.HorizontalPager
@@ -117,7 +116,6 @@ fun RowScope.AltNavBarItem(
117116
horizontalArrangement = Arrangement.Center,
118117
) {
119118
Column(
120-
modifier = modifier.fillMaxSize(),
121119
verticalArrangement = Arrangement.Center,
122120
horizontalAlignment = Alignment.CenterHorizontally,
123121
) {
@@ -139,7 +137,7 @@ fun RowScope.AltNavBarItem(
139137
style = MaterialTheme.typography.bodyMedium,
140138
maxLines = 1,
141139
overflow = TextOverflow.Ellipsis,
142-
color = MaterialTheme.colorScheme.onSurface,
140+
color = iconColor,
143141
)
144142
}
145143
}

0 commit comments

Comments
 (0)