Cloud sync: default send only

pull/212/head
M66B 2 years ago
parent 79381e19cb
commit 5b5cb05605

@ -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");

@ -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);

Loading…
Cancel
Save