1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-2893 Space-level chat | Fix | Fix reaction limit UX

This commit is contained in:
Evgenii Kozlov 2025-02-28 17:46:54 +01:00
parent 86ad11c4f5
commit 0c4ef1f405

View file

@ -298,19 +298,21 @@ fun Bubble(
showDropdownMenu = false
}
) {
DropdownMenuItem(
text = {
Text(
text = stringResource(R.string.chats_add_reaction),
color = colorResource(id = R.color.text_primary),
modifier = Modifier.padding(end = 64.dp)
)
},
onClick = {
onAddReactionClicked()
showDropdownMenu = false
}
)
if (!isMaxReactionCountReached) {
DropdownMenuItem(
text = {
Text(
text = stringResource(R.string.chats_add_reaction),
color = colorResource(id = R.color.text_primary),
modifier = Modifier.padding(end = 64.dp)
)
},
onClick = {
onAddReactionClicked()
showDropdownMenu = false
}
)
}
Divider(paddingStart = 0.dp, paddingEnd = 0.dp)
DropdownMenuItem(
text = {