Skip to content

Commit 19c773f

Browse files
committed
[feature/bottom] M3 Bottom Icon Selected Round 제거 (#33)
1 parent 9b6e984 commit 19c773f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

presentation/src/main/java/com/everymeal/presentation/ui/bottom/BottomNavigationScreen.kt

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
package com.everymeal.presentation.ui.bottom
22

3+
import androidx.compose.foundation.indication
4+
import androidx.compose.foundation.interaction.MutableInteractionSource
35
import androidx.compose.foundation.layout.fillMaxWidth
46
import androidx.compose.foundation.layout.height
57
import androidx.compose.material3.Icon
68
import androidx.compose.material3.NavigationBar
79
import androidx.compose.material3.NavigationBarItem
10+
import androidx.compose.material3.NavigationBarItemDefaults
811
import androidx.compose.material3.Text
912
import androidx.compose.runtime.Composable
13+
import androidx.compose.runtime.remember
1014
import androidx.compose.ui.Modifier
1115
import androidx.compose.ui.graphics.Color
1216
import androidx.compose.ui.graphics.vector.ImageVector
@@ -62,7 +66,8 @@ fun EveryMealBottomNavigation(
6266
)
6367
},
6468
selected = currentDestination?.route == bottomItem.route,
65-
onClick = { navigateToScreen(bottomItem) }
69+
onClick = { navigateToScreen(bottomItem) },
70+
colors = NavigationBarItemDefaults.colors(indicatorColor = Color.White),
6671
)
6772
}
6873
}

0 commit comments

Comments
 (0)