mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
fix(mobile): zero exposure (#28017)
This commit is contained in:
@@ -29,7 +29,7 @@ class ExifInfo {
|
|||||||
bool get hasCoordinates => latitude != null && longitude != null && latitude != 0 && longitude != 0;
|
bool get hasCoordinates => latitude != null && longitude != null && latitude != 0 && longitude != 0;
|
||||||
|
|
||||||
String get exposureTime {
|
String get exposureTime {
|
||||||
if (exposureSeconds == null) {
|
if (exposureSeconds == null || exposureSeconds! <= 0 || exposureSeconds!.isNaN) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
if (exposureSeconds! < 1) {
|
if (exposureSeconds! < 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user