mirror of https://github.com/M66B/FairEmail.git
Cloud sync: default send only
This commit is contained in:
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…
Reference in New Issue