mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Improve management of cache key
This commit is contained in:
		@@ -74,9 +74,13 @@ Widget buildErrorCard(String? message,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/// Show an image with a given [url] in full screen
 | 
			
		||||
void showImageFullScreen(BuildContext context, String? url) {
 | 
			
		||||
void showImageFullScreen(BuildContext context, String? url,
 | 
			
		||||
    {String? cacheKey}) {
 | 
			
		||||
  Navigator.of(context).push(MaterialPageRoute(builder: (c) {
 | 
			
		||||
    return FullScreenImageRoute(url!);
 | 
			
		||||
    return FullScreenImageRoute(
 | 
			
		||||
      url: url!,
 | 
			
		||||
      cacheKey: cacheKey,
 | 
			
		||||
    );
 | 
			
		||||
  }));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user