displayed_dive vs. current_dive
helling at lmu.de
Fri Apr 26 02:42:00 PDT 2019
I have a question: What is the difference between
displayed_dive and current_dive
Recently, there have been some PRs in particular from bstoeger that say something along the lines of "Use current_dive instead of displayed_dive in TabDiveInformation”.
I have to admit that I never really understood the distinction. By only heuristic was that in the planner, current_dive tends to be undefined and thus I always used displayed_dive.
Maybe somebody could explain when to use which and maybe this could also go as a comment into the source.
Robert C. Helling Elite Master Course Theoretical and Mathematical Physics
Ludwig Maximilians Universitaet Muenchen, Dept. Physik
Phone: +49 89 2180-4523 Theresienstr. 39, rm. B339
Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515 BB44 0820 367C 36BC 0C1D and
DCED 37B6 251C 7861 270D 5613 95C7 9D32 9A8D 9B8F
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 235 bytes
Desc: Message signed with OpenPGP
More information about the subsurface