mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:27:09 -05:00 
			
		
		
		
	fix: use composite cache key in user circle avatar (#21220)
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									605764f226
								
							
						
					
					
						commit
						28dce2d0df
					
				@ -48,7 +48,7 @@ class UserCircleAvatar extends ConsumerWidget {
 | 
			
		||||
                  borderRadius: const BorderRadius.all(Radius.circular(50)),
 | 
			
		||||
                  child: CachedNetworkImage(
 | 
			
		||||
                    fit: BoxFit.cover,
 | 
			
		||||
                    cacheKey: user.profileChangedAt.toIso8601String(),
 | 
			
		||||
                    cacheKey: '${user.id}-${user.profileChangedAt.toIso8601String()}',
 | 
			
		||||
                    width: size,
 | 
			
		||||
                    height: size,
 | 
			
		||||
                    placeholder: (_, __) => Image.memory(kTransparentImage),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user