fix mileage not included.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2025-01-10 11:01:24 -07:00
parent c5182e0ed6
commit f7e00523c2

View File

@@ -24,6 +24,6 @@
public List<string> Tags { get; set; } = new List<string>();
public List<ExtraField> ExtraFields { get; set; } = new List<ExtraField>();
public List<UploadedFiles> Files { get; set; } = new List<UploadedFiles>();
public bool IncludeInAverage { get { return MilesPerGallon > 0 || (!IsFillToFull && !MissedFuelUp); } }
public bool IncludeInAverage { get { return MilesPerGallon > 0 || (!IsFillToFull && !MissedFuelUp) || (Mileage == default && !MissedFuelUp); } }
}
}