mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 20:06:29 +01:00
Fixed auto update downloaded times
This commit is contained in:
@@ -255,11 +255,6 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onExecuted(Bundle args, Void data) {
|
||||
prefs.edit().putLong("adguard_last", new Date().getTime()).apply();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onException(Bundle args, Throwable ex) {
|
||||
Log.unexpectedError(getParentFragmentManager(), ex, !(ex instanceof IOException));
|
||||
@@ -527,11 +522,6 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onExecuted(Bundle args, Void data) {
|
||||
prefs.edit().putLong("disconnect_last", new Date().getTime()).apply();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onException(Bundle args, Throwable ex) {
|
||||
Log.unexpectedError(getParentFragmentManager(), ex, !(ex instanceof IOException));
|
||||
|
||||
Reference in New Issue
Block a user