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:
parent
86ad11c4f5
commit
0c4ef1f405
1 changed files with 15 additions and 13 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue