Skip to content

Commit

Permalink
user follow
Browse files Browse the repository at this point in the history
  • Loading branch information
Notsfsssf committed Jun 28, 2024
1 parent ac231b6 commit 844a26b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/page/user/users_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -538,10 +538,11 @@ class _UsersPageState extends State<UsersPage> with TickerProviderStateMixin {
},
itemBuilder: (context) {
return [
PopupMenuItem<int>(
value: 0,
child: Text(I18n.of(context).quietly_follow),
),
if (!userStore.isFollow)
PopupMenuItem<int>(
value: 0,
child: Text(I18n.of(context).quietly_follow),
),
PopupMenuItem<int>(
value: 1,
child: Text(I18n.of(context).block_user),
Expand Down

0 comments on commit 844a26b

Please sign in to comment.