Skip to content

Commit

Permalink
addressing review
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicalMeghan committed Jul 25, 2023
1 parent 9a7e708 commit a53bbe0
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ fun SearchBar(
placeholder = {
Text(
text = stringResource(R.string.placeholder_search),
style = MaterialTheme.typography.bodyLarge
)
},
modifier = modifier
Expand Down Expand Up @@ -122,12 +121,10 @@ fun AlignYourBodyElement(
.size(88.dp)
.clip(CircleShape)
)
Spacer(Modifier.height(8.dp))
Text(
text = stringResource(text),
modifier = Modifier.paddingFromBaseline(top = 8.dp),
modifier = Modifier.paddingFromBaseline(top = 24.dp, bottom = 8.dp),
style = MaterialTheme.typography.bodyMedium,
color = MaterialTheme.colorScheme.onSurface
)
}
}
Expand Down Expand Up @@ -158,7 +155,6 @@ fun FavoriteCollectionCard(
text = stringResource(text),
style = MaterialTheme.typography.titleMedium,
modifier = Modifier.padding(horizontal = 16.dp),
color = MaterialTheme.colorScheme.onSurface
)
}
}
Expand Down Expand Up @@ -212,7 +208,7 @@ fun HomeSection(
style = MaterialTheme.typography.titleMedium,
modifier = Modifier
.padding(horizontal = 16.dp)
.paddingFromBaseline(top = 32.dp, bottom = 16.dp)
.paddingFromBaseline(top = 32.dp, bottom = 8.dp)
)
content()
}
Expand Down Expand Up @@ -255,7 +251,6 @@ private fun SootheBottomNavigation(modifier: Modifier = Modifier) {
label = {
Text(
text = stringResource(R.string.bottom_navigation_home),
style = MaterialTheme.typography.labelMedium
)
},
selected = true,
Expand All @@ -271,7 +266,6 @@ private fun SootheBottomNavigation(modifier: Modifier = Modifier) {
label = {
Text(
text = stringResource(R.string.bottom_navigation_profile),
style = MaterialTheme.typography.labelMedium
)
},
selected = false,
Expand Down

0 comments on commit a53bbe0

Please sign in to comment.