From d6e2db7edbcc653096043ea3f78d13f2d6658016 Mon Sep 17 00:00:00 2001 From: Kevinlinpr Date: Tue, 29 Oct 2024 05:30:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4post=E4=B8=AD=E7=9A=84followi?= =?UTF-8?q?ng=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/aiosman/riderpro/ui/post/Post.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/aiosman/riderpro/ui/post/Post.kt b/app/src/main/java/com/aiosman/riderpro/ui/post/Post.kt index 9750ee2..610bf46 100644 --- a/app/src/main/java/com/aiosman/riderpro/ui/post/Post.kt +++ b/app/src/main/java/com/aiosman/riderpro/ui/post/Post.kt @@ -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 )