File tree Expand file tree Collapse file tree
api/src/main/java/com/getcode/network
app/src/main/java/com/getcode/view/main/home/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ class ChatHistoryController @Inject constructor(
116116 chatFlows[chatId] = it
117117 }
118118
119- val unreadCount = chats
119+ val unreadCount = notifications
120120 .filterNotNull()
121121 // Ignore muted chats and unsubscribed chats
122122 .map { it.filter { c -> ! c.isMuted && c.isSubscribed } }
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments