Skip to content

Commit

Permalink
fix: Enable follow button interaction in article feed view
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-kreios committed Jan 2, 2025
1 parent 335bcd4 commit f5779c9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:ion/app/components/button/follow_button.dart';
import 'package:ion/app/components/screen_offset/screen_side_offset.dart';
import 'package:ion/app/extensions/extensions.dart';
import 'package:ion/app/features/components/user/follow_user_button/follow_user_button.dart';
import 'package:ion/app/features/feed/data/models/entities/article_data.c.dart';
import 'package:ion/app/features/feed/views/components/article/components/article_image/article_image.dart';
import 'package:ion/app/features/feed/views/components/user_info/user_info.dart';
Expand Down Expand Up @@ -40,7 +40,7 @@ class ArticleDetailsHeader extends ConsumerWidget {
SizedBox(height: 12.0.s),
UserInfo(
pubkey: article.masterPubkey,
trailing: FollowButton(onPressed: () {}, following: false),
trailing: FollowUserButton(pubkey: article.masterPubkey),
),
],
),
Expand Down

0 comments on commit f5779c9

Please sign in to comment.