Skip to content

Commit

Permalink
PR review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
riggaroo committed Nov 23, 2023
1 parent 9f84afb commit 9d58445
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,8 @@ private fun HomeTabBar(
tabPage: TabPage,
onTabSelected: (tabPage: TabPage) -> Unit
) {
Column(modifier = Modifier.windowInsetsPadding(WindowInsets.safeDrawing.only(WindowInsetsSides.Horizontal + WindowInsetsSides.Top))) {
Column(modifier = Modifier.windowInsetsPadding(WindowInsets.safeDrawing.only(WindowInsetsSides.Horizontal))) {
Spacer(Modifier.windowInsetsTopHeight(WindowInsets.safeDrawing))
TabRow(
selectedTabIndex = tabPage.ordinal,
containerColor = backgroundColor,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -446,10 +446,11 @@ private fun HomeTabBar(
tabPage: TabPage,
onTabSelected: (tabPage: TabPage) -> Unit
) {
Column(modifier = Modifier.windowInsetsPadding(WindowInsets.safeDrawing.only(Horizontal + Top)),) {
Column(modifier = Modifier.windowInsetsPadding(WindowInsets.safeDrawing.only(Horizontal))) {
Spacer(Modifier.windowInsetsTopHeight(WindowInsets.safeDrawing))
TabRow(
selectedTabIndex = tabPage.ordinal,
containerColor = Color.Transparent,
containerColor = backgroundColor,
contentColor = MaterialTheme.colorScheme.onPrimary,
indicator = { tabPositions ->
HomeTabIndicator(tabPositions, tabPage)
Expand Down

0 comments on commit 9d58445

Please sign in to comment.