mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
fix(mobile): zero exposure (#28017)
This commit is contained in:
parent
a16d233a0c
commit
70397dc5a6
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue