1
1
package com.everymeal.presentation.ui.bottom
2
2
3
- import androidx.compose.foundation.indication
4
- import androidx.compose.foundation.interaction.MutableInteractionSource
3
+ import androidx.compose.foundation.border
5
4
import androidx.compose.foundation.layout.fillMaxWidth
6
- import androidx.compose.foundation.layout.height
5
+ import androidx.compose.foundation.shape.RoundedCornerShape
7
6
import androidx.compose.material3.Icon
8
7
import androidx.compose.material3.NavigationBar
9
8
import androidx.compose.material3.NavigationBarItem
10
9
import androidx.compose.material3.NavigationBarItemDefaults
11
10
import androidx.compose.material3.Text
12
11
import androidx.compose.runtime.Composable
13
- import androidx.compose.runtime.remember
14
12
import androidx.compose.ui.Modifier
13
+ import androidx.compose.ui.draw.clip
15
14
import androidx.compose.ui.graphics.Color
16
15
import androidx.compose.ui.graphics.vector.ImageVector
17
16
import androidx.compose.ui.res.stringResource
@@ -23,6 +22,7 @@ import androidx.compose.ui.unit.sp
23
22
import androidx.navigation.NavDestination
24
23
import androidx.navigation.NavGraph.Companion.findStartDestination
25
24
import androidx.navigation.NavHostController
25
+ import com.everymeal.presentation.ui.theme.Gray300
26
26
import com.everymeal.presentation.ui.theme.Gray500
27
27
import com.everymeal.presentation.ui.theme.Main100
28
28
import com.everymeal.presentation.ui.theme.Paddings
@@ -36,7 +36,11 @@ fun EveryMealBottomNavigation(
36
36
containerColor = Color .White ,
37
37
modifier = Modifier
38
38
.fillMaxWidth()
39
- .height(72 .dp),
39
+ .clip(RoundedCornerShape (topStart = 14 .dp, topEnd = 14 .dp))
40
+ .border(
41
+ width = 1 .dp,
42
+ color = Gray300 ,
43
+ shape = RoundedCornerShape (topStart = 14 .dp, topEnd = 14 .dp)),
40
44
tonalElevation = Paddings .xextra
41
45
) {
42
46
BottomNavigation .values().forEach { bottomItem ->
0 commit comments