mirror of https://github.com/M66B/FairEmail.git
Fixed showing last cleanup time
This commit is contained in:
parent
c19e752345
commit
06af2bab49
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue