This commit is contained in:
M66B
2022-06-13 14:33:30 +02:00
parent 0c975325cf
commit 072fa35153
9 changed files with 9 additions and 9 deletions

View File

@@ -538,7 +538,7 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer
}
private void setOptions() {
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
if (getContext() == null)
return;
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());