Skip to content

Commit f425d3b

Browse files
committed
chore(home): tighten up action badging
Signed-off-by: Brandon McAnsh <[email protected]>
1 parent e22ec18 commit f425d3b

File tree

1 file changed

+2
-2
lines changed
  • app/src/main/java/com/getcode/view/main/home/components

1 file changed

+2
-2
lines changed

app/src/main/java/com/getcode/view/main/home/components/HomeBottom.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ internal fun HomeBottom(
8080
onClick = { onPress(HomeAction.BALANCE) },
8181
badge = {
8282
Badge(
83-
modifier = Modifier.padding(top = 2.dp, end = 2.dp),
83+
modifier = Modifier.padding(top = 6.dp, end = 1.dp),
8484
count = state.chatUnreadCount,
8585
color = ChatNodeDefaults.UnreadIndicator,
8686
enterTransition = scaleIn(
@@ -179,7 +179,7 @@ private fun BottomBarAction(
179179
actionPlaceable?.placeRelative(0, 0)
180180
badgePlaceable?.placeRelative(
181181
x = maxWidth - widthOrZero(badgePlaceable),
182-
y = -(heightOrZero(badgePlaceable) / 2)
182+
y = -(heightOrZero(badgePlaceable) / 3)
183183
)
184184
}
185185
}

0 commit comments

Comments
 (0)