Jocke 148bc8fbf1 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>
2018-09-19 14:41:34 -07:00
..
2018-07-18 02:09:15 +03:00
2018-09-11 15:38:20 -07:00
2018-09-13 08:16:54 -07:00
2018-01-31 14:47:26 +01:00
2017-04-29 13:32:55 -07:00
2018-08-23 05:16:38 -07:00
2018-05-27 23:18:01 +03:00
2018-09-12 14:14:14 -07:00
2018-08-23 05:16:38 -07:00
2018-09-07 11:03:30 -07:00
2017-04-29 13:32:55 -07:00
2018-09-13 08:16:54 -07:00
2018-05-30 21:47:07 -07:00
2017-04-29 13:32:55 -07:00
2017-10-04 08:05:09 -07:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00