Prevent crash on refreshing folders

This commit is contained in:
M66B 2019-06-18 21:25:23 +02:00
parent 4dcbe807df
commit a1f13d8e3a
1 changed files with 1 additions and 1 deletions

View File

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