diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2018-10-08 16:15:53 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-09 10:03:21 -0700 |
commit | 91c8a2fa5c897111146bff30ff27763ddb92f929 (patch) | |
tree | 525bbd9464e904c0d483ad5c1edc02aa879a2348 /core/pref.h | |
parent | 26234d326fe0e9aaa82c253762f89b20101b9bf4 (diff) | |
download | subsurface-91c8a2fa5c897111146bff30ff27763ddb92f929.tar.gz |
Prefs: add bool preference cloud_auto_sync [1/3]
With removal of the git_local_only from the preferences (see
ae653703a5d3f), the users choice, in the mobile app, was not
stored any more in between sessions. This resulted in issue
1725.
So, in order to store that user preference, we need a new
preference. This is added here, but its not yet hooked up
in the app yet. This deals only with the preference handling.
And adapted tests are included.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'core/pref.h')
-rw-r--r-- | core/pref.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pref.h b/core/pref.h index 2e11efbe4..2fbe1762f 100644 --- a/core/pref.h +++ b/core/pref.h @@ -87,6 +87,7 @@ struct preferences { int animation_speed; // ********** CloudStorage ********** + bool cloud_auto_sync; const char *cloud_base_url; const char *cloud_git_url; const char *cloud_storage_email; |