mirror of https://github.com/M66B/FairEmail.git
Prevent crash on refreshing folders
This commit is contained in:
parent
4dcbe807df
commit
a1f13d8e3a
|
@ -325,7 +325,7 @@ public class FragmentFolders extends FragmentBase {
|
|||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean enabled = prefs.getBoolean("enabled", true);
|
||||
if (enabled)
|
||||
ServiceSynchronize.reload(getContext(), "refresh folders");
|
||||
ServiceSynchronize.reload(context, "refresh folders");
|
||||
else
|
||||
ServiceSynchronize.process(context);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue