diff options
author | Jocke <j.bygdell@gmail.com> | 2018-09-18 17:22:01 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-19 14:41:34 -0700 |
commit | 148bc8fbf192c42c25e7f7897384e6fbc6562267 (patch) | |
tree | e7e9c682da098c126d15a7d9d93d4bee076048fc /dives/DL7.zxu | |
parent | 09e7fdc253aefcd05b2133d0745dceba34955247 (diff) | |
download | subsurface-148bc8fbf192c42c25e7f7897384e6fbc6562267.tar.gz |
Mobile: always update the preferences when set_unit_system is called
Unit_system is read from git storage but units are set from locale when the
app starts. To prevent a miss-match between unit and unit_system we have to
always update the preferences variable when set_unit_system is called so that
the user doesn't end up with imperial units when the preferences say metric.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/DL7.zxu')
0 files changed, 0 insertions, 0 deletions