Fixed showing last cleanup time

This commit is contained in:
M66B 2022-06-13 18:03:15 +02:00
parent c19e752345
commit 06af2bab49
1 changed files with 1 additions and 1 deletions

View File

@ -1874,7 +1874,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
}
private void setLastCleanup(long time) {
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
if (getContext() == null)
return;
java.text.DateFormat DTF = Helper.getDateTimeInstance(getContext());