diff --git a/lib/pages/artist/section/header.dart b/lib/pages/artist/section/header.dart index b8e7e5dc..71756b1b 100644 --- a/lib/pages/artist/section/header.dart +++ b/lib/pages/artist/section/header.dart @@ -192,20 +192,19 @@ class ArtistPageHeader extends HookConsumerWidget { ), ), const Gap(5), - Flexible( - child: AutoSizeText( - context.l10n.followers( - artist.followers == null - ? double.infinity - : PrimitiveUtils.toReadableNumber( - artist.followers!.toDouble(), - ), - ), - maxLines: 1, - overflow: TextOverflow.ellipsis, - minFontSize: 12, - ).muted(), - ), + if (artist.followers != null) + Flexible( + child: AutoSizeText( + context.l10n.followers( + PrimitiveUtils.toReadableNumber( + artist.followers!.toDouble(), + ), + ), + maxLines: 1, + overflow: TextOverflow.ellipsis, + minFontSize: 12, + ).muted(), + ), if (constrains.mdAndUp) ...[ const Gap(20), actions,