File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
api/src/main/java/com/getcode/network
app/src/main/java/com/getcode/view/main/home/components Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ class ChatHistoryController @Inject constructor(
116
116
chatFlows[chatId] = it
117
117
}
118
118
119
- val unreadCount = chats
119
+ val unreadCount = notifications
120
120
.filterNotNull()
121
121
// Ignore muted chats and unsubscribed chats
122
122
.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(
80
80
onClick = { onPress(HomeAction .BALANCE ) },
81
81
badge = {
82
82
Badge (
83
- modifier = Modifier .padding(top = 2 .dp, end = 2 .dp),
83
+ modifier = Modifier .padding(top = 6 .dp, end = 1 .dp),
84
84
count = state.chatUnreadCount,
85
85
color = ChatNodeDefaults .UnreadIndicator ,
86
86
enterTransition = scaleIn(
@@ -179,7 +179,7 @@ private fun BottomBarAction(
179
179
actionPlaceable?.placeRelative(0 , 0 )
180
180
badgePlaceable?.placeRelative(
181
181
x = maxWidth - widthOrZero(badgePlaceable),
182
- y = - (heightOrZero(badgePlaceable) / 2 )
182
+ y = - (heightOrZero(badgePlaceable) / 3 )
183
183
)
184
184
}
185
185
}
You can’t perform that action at this time.
0 commit comments