Cloud sync: default send only

This commit is contained in:
M66B 2023-01-22 08:59:35 +01:00
parent 79381e19cb
commit 5b5cb05605
2 changed files with 2 additions and 2 deletions

View File

@ -315,7 +315,7 @@ public class CloudSync {
DB db = DB.getInstance(context);
File dir = Helper.ensureExists(new File(context.getFilesDir(), "syncdata"));
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean cloud_receive = prefs.getBoolean("cloud_receive", true);
boolean cloud_receive = prefs.getBoolean("cloud_receive", false);
if (!cloud_receive) {
EntityLog.log(context, EntityLog.Type.Cloud, "Cloud skip receive");

View File

@ -248,7 +248,7 @@ public class FragmentOptionsBackup extends FragmentBase implements SharedPrefere
Helper.linkPro(tvCloudPro);
cbSend.setChecked(prefs.getBoolean("cloud_send", true));
cbReceive.setChecked(prefs.getBoolean("cloud_receive", true));
cbReceive.setChecked(prefs.getBoolean("cloud_receive", false));
prefs.registerOnSharedPreferenceChangeListener(this);
onSharedPreferenceChanged(prefs, null);