Ignore invalid dives in subsurface-mobile dive summary
Match subsurface-desktop's invalid dive behavior Signed-off-by: Tim Segers <tsegers@pm.me>
This commit is contained in:
parent
18c0fa37d1
commit
f3a02d7049
@ -121,6 +121,10 @@ static void calculateDive(struct dive *dive, Stats &stats)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (dive->invalid) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// one more real dive
|
// one more real dive
|
||||||
stats.dives++;
|
stats.dives++;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user