mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	fix(mobile): description not render on first opening (#4451)
This commit is contained in:
		@@ -364,7 +364,19 @@ class ExifBottomSheet extends HookConsumerWidget {
 | 
			
		||||
                  children: [
 | 
			
		||||
                    buildDragHeader(),
 | 
			
		||||
                    buildDate(),
 | 
			
		||||
                    if (asset.isRemote) DescriptionInput(asset: asset),
 | 
			
		||||
                    assetWithExif.when(
 | 
			
		||||
                      data: (data) => DescriptionInput(asset: data),
 | 
			
		||||
                      error: (error, stackTrace) => Icon(
 | 
			
		||||
                        Icons.image_not_supported_outlined,
 | 
			
		||||
                        color: Theme.of(context).primaryColor,
 | 
			
		||||
                      ),
 | 
			
		||||
                      loading: () => const SizedBox(
 | 
			
		||||
                        width: 75,
 | 
			
		||||
                        height: 75,
 | 
			
		||||
                        child: CircularProgressIndicator.adaptive(),
 | 
			
		||||
                      ),
 | 
			
		||||
                    ),
 | 
			
		||||
                    Text(exifInfo?.description ?? ""),
 | 
			
		||||
                    const SizedBox(height: 8.0),
 | 
			
		||||
                    buildLocation(),
 | 
			
		||||
                    SizedBox(height: hasCoordinates(exifInfo) ? 16.0 : 0.0),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user