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