删除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), modifier = Modifier.weight(1f),
color = AppColors.text, color = AppColors.text,
) )
if (AppState.UserId != userId) { if (AppState.UserId != userId && !isFollowing) {
FollowButton( FollowButton(
isFollowing = isFollowing, isFollowing = false,
onFollowClick = onFollowClick, onFollowClick = onFollowClick,
fontSize = 12.sp fontSize = 12.sp
) )