删除post中的following按钮

This commit is contained in:
2024-10-29 05:30:01 +08:00
parent 5b3d663a73
commit d6e2db7edb

View File

@@ -719,9 +719,9 @@ fun Header(
modifier = Modifier.weight(1f),
color = AppColors.text,
)
if (AppState.UserId != userId) {
if (AppState.UserId != userId && !isFollowing) {
FollowButton(
isFollowing = isFollowing,
isFollowing = false,
onFollowClick = onFollowClick,
fontSize = 12.sp
)