mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:29:32 -05:00 
			
		
		
		
	feat: add units to exposure time display (#9803)
* feat(web): add units to exposure time display * feat(mobile): add units to exposure time display
This commit is contained in:
		
							parent
							
								
									8812c3afcf
								
							
						
					
					
						commit
						ee3530b34c
					
				@ -192,7 +192,7 @@ class ExifBottomSheet extends HookConsumerWidget {
 | 
				
			|||||||
                                exifInfo.mm != null ||
 | 
					                                exifInfo.mm != null ||
 | 
				
			||||||
                                exifInfo.iso != null
 | 
					                                exifInfo.iso != null
 | 
				
			||||||
                            ? Text(
 | 
					                            ? Text(
 | 
				
			||||||
                                "ƒ/${exifInfo.fNumber}   ${exifInfo.exposureTime}   ${exifInfo.focalLength} mm   ISO ${exifInfo.iso ?? ''} ",
 | 
					                                "ƒ/${exifInfo.fNumber}   ${exifInfo.exposureTime} s   ${exifInfo.focalLength} mm   ISO ${exifInfo.iso ?? ''} ",
 | 
				
			||||||
                                style: context.textTheme.bodySmall,
 | 
					                                style: context.textTheme.bodySmall,
 | 
				
			||||||
                              )
 | 
					                              )
 | 
				
			||||||
                            : null,
 | 
					                            : null,
 | 
				
			||||||
 | 
				
			|||||||
@ -49,7 +49,7 @@ class ExifDetail extends StatelessWidget {
 | 
				
			|||||||
                    exifInfo?.mm != null ||
 | 
					                    exifInfo?.mm != null ||
 | 
				
			||||||
                    exifInfo?.iso != null
 | 
					                    exifInfo?.iso != null
 | 
				
			||||||
                ? Text(
 | 
					                ? Text(
 | 
				
			||||||
                    "ƒ/${exifInfo?.fNumber}   ${exifInfo?.exposureTime}   ${exifInfo?.focalLength} mm   ISO ${exifInfo?.iso ?? ''} ",
 | 
					                    "ƒ/${exifInfo?.fNumber}   ${exifInfo?.exposureTime} s   ${exifInfo?.focalLength} mm   ISO ${exifInfo?.iso ?? ''} ",
 | 
				
			||||||
                    style: context.textTheme.bodySmall,
 | 
					                    style: context.textTheme.bodySmall,
 | 
				
			||||||
                  )
 | 
					                  )
 | 
				
			||||||
                : null,
 | 
					                : null,
 | 
				
			||||||
 | 
				
			|||||||
@ -381,7 +381,7 @@
 | 
				
			|||||||
            {/if}
 | 
					            {/if}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            {#if asset.exifInfo.exposureTime}
 | 
					            {#if asset.exifInfo.exposureTime}
 | 
				
			||||||
              <p>{`${asset.exifInfo.exposureTime}`}</p>
 | 
					              <p>{`${asset.exifInfo.exposureTime} s`}</p>
 | 
				
			||||||
            {/if}
 | 
					            {/if}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            {#if asset.exifInfo.focalLength}
 | 
					            {#if asset.exifInfo.focalLength}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user