1
This commit is contained in:
@@ -3,6 +3,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
|
||||
import '../../../core/media/cover_cache.dart';
|
||||
import '../../../core/theme/app_theme.dart';
|
||||
import '../../../models/video_item.dart';
|
||||
import '../../../providers/auth_provider.dart';
|
||||
@@ -91,7 +92,7 @@ class _AuthorAvatar extends StatelessWidget {
|
||||
radius: 24,
|
||||
backgroundColor: AppColors.surface,
|
||||
backgroundImage: item.author.avatarUrl.isNotEmpty
|
||||
? CachedNetworkImageProvider(item.author.avatarUrl)
|
||||
? CachedNetworkImageProvider(item.author.avatarUrl, cacheManager: CoverCacheManager.I)
|
||||
: null,
|
||||
child: item.author.avatarUrl.isEmpty
|
||||
? Text(
|
||||
|
||||
Reference in New Issue
Block a user