0
0
mirror of https://github.com/TrianguloY/UrlChecker.git synced 2024-09-20 04:12:14 +02:00

clear lastUpdate when resetting the catalog

This commit is contained in:
TrianguloY 2022-07-17 13:42:34 +02:00
parent f285792e3a
commit 5b982c6e11
3 changed files with 3 additions and 1 deletions

View File

@ -131,6 +131,7 @@ public class ClearUrlCatalog {
*/
public void clear() {
cntx.deleteFile(fileName);
lastUpdate.clear();
}
// ------------------- dialogs -------------------

View File

@ -67,7 +67,7 @@ class DebugDialog extends AModuleDialog {
@Override
public void onInitialize(View views) {
((TextView) views.findViewById(R.id.text1)).setText(
((TextView) views.findViewById(R.id.text)).setText(
getActivity().getIntent().toUri(0)
);
}

View File

@ -77,6 +77,7 @@ public abstract class GenericPref<T> {
*/
public void clear() {
prefs.edit().remove(prefName).apply();
}
// ------------------- Implementations -------------------