fix: 菜单 - 收藏

This commit is contained in:
HuanCheng65 2023-07-21 19:01:01 +08:00
parent fad05912ae
commit 0e978bec0a
No known key found for this signature in database
GPG Key ID: 5EC9DD60A32C7360
1 changed files with 2 additions and 2 deletions

View File

@ -1401,9 +1401,9 @@ fun PostCard(
if (onMenuFavoriteClick != null) {
DropdownMenuItem(onClick = { onMenuFavoriteClick(post) }) {
if (isCollected(post)) {
Text(text = stringResource(id = R.string.title_collect))
} else {
Text(text = stringResource(id = R.string.title_collect_on))
} else {
Text(text = stringResource(id = R.string.title_collect))
}
}
}