mirror of https://github.com/M66B/FairEmail.git
Reload on changing sync folders
This commit is contained in:
parent
3a34a30cbc
commit
75a26bf68d
|
@ -195,6 +195,7 @@ public class FragmentOptionsSynchronize extends FragmentBase implements SharedPr
|
||||||
@Override
|
@Override
|
||||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||||
prefs.edit().putBoolean("sync_folders", checked).apply();
|
prefs.edit().putBoolean("sync_folders", checked).apply();
|
||||||
|
ServiceSynchronize.reload(getContext(), false, "sync_folders=" + checked);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue