Mobile: always show divecomputer reported ceiling in red

We do not not want to do decompress model calculations in the mobile app
(see 130f4cd7ac), but we do want to see the divecomputer reported
ceiling (in red). The latter is fixed here.

Ticket #1006

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Jan Mulder 2016-02-06 08:36:42 +01:00 committed by Dirk Hohndel
parent a4ec520601
commit dd53411550

View file

@ -62,6 +62,11 @@ int main(int argc, char **argv)
init_ui();
loadPreferences();
prefs.animation_speed = 0;
/* always show the divecomputer reported ceiling in red */
prefs.dcceiling = 1;
prefs.redceiling = 1;
init_proxy();
if (no_filenames) {
if (prefs.default_file_behavior == LOCAL_DEFAULT_FILE) {