diff --git a/lib/screens/discover_screen.dart b/lib/screens/discover_screen.dart index 931df919..0499bb47 100644 --- a/lib/screens/discover_screen.dart +++ b/lib/screens/discover_screen.dart @@ -1571,26 +1571,7 @@ class _DiscoverScreenState extends State fit: BoxFit.contain, memCacheWidth: (400 * dpr).clamp(200, 800).round(), alignment: isLargeScreen ? Alignment.bottomLeft : Alignment.bottomCenter, - placeholder: (context, url) { - final theme = Theme.of(context); - final colorScheme = theme.colorScheme; - return Align( - alignment: isLargeScreen ? Alignment.centerLeft : Alignment.center, - child: Text( - showName, - style: theme.textTheme.displaySmall?.copyWith( - color: colorScheme.onSurface.withValues(alpha: 0.3), - fontWeight: FontWeight.bold, - shadows: [ - Shadow(color: colorScheme.surface.withValues(alpha: 0.8), blurRadius: 8), - ], - ), - maxLines: 2, - overflow: TextOverflow.ellipsis, - textAlign: isLargeScreen ? TextAlign.left : TextAlign.center, - ), - ); - }, + placeholder: (context, url) => const SizedBox.shrink(), errorWidget: (context, url, error) { // Fallback to text if logo fails to load final theme = Theme.of(context); diff --git a/lib/screens/media_detail_screen.dart b/lib/screens/media_detail_screen.dart index 0cdc075c..82ded0d6 100644 --- a/lib/screens/media_detail_screen.dart +++ b/lib/screens/media_detail_screen.dart @@ -2486,19 +2486,7 @@ class _MediaDetailScreenState extends State fit: BoxFit.contain, alignment: Alignment.centerLeft, memCacheWidth: (400 * dpr).clamp(200, 800).round(), - placeholder: (context, url) => Align( - alignment: Alignment.centerLeft, - child: Text( - metadata.displayTitle, - style: Theme.of(context).textTheme.displaySmall?.copyWith( - color: Colors.white.withValues(alpha: 0.3), - fontWeight: FontWeight.bold, - shadows: [Shadow(color: Colors.black.withValues(alpha: 0.5), blurRadius: 8)], - ), - maxLines: 2, - overflow: TextOverflow.ellipsis, - ), - ), + placeholder: (context, url) => const SizedBox.shrink(), errorWidget: (context, url, error) => _buildTitleText(context, metadata.displayTitle), ), sigma: 10,