From 844a26b2e7ef8b6a86506bc5b04cc4c5c2da11d2 Mon Sep 17 00:00:00 2001 From: perol Date: Fri, 28 Jun 2024 21:38:23 +0800 Subject: [PATCH] user follow --- lib/page/user/users_page.dart | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/page/user/users_page.dart b/lib/page/user/users_page.dart index c82bf033..46e57304 100644 --- a/lib/page/user/users_page.dart +++ b/lib/page/user/users_page.dart @@ -538,10 +538,11 @@ class _UsersPageState extends State with TickerProviderStateMixin { }, itemBuilder: (context) { return [ - PopupMenuItem( - value: 0, - child: Text(I18n.of(context).quietly_follow), - ), + if (!userStore.isFollow) + PopupMenuItem( + value: 0, + child: Text(I18n.of(context).quietly_follow), + ), PopupMenuItem( value: 1, child: Text(I18n.of(context).block_user),