mirror of
https://github.com/TrianguloY/UrlChecker.git
synced 2024-09-19 20:02:16 +02:00
clear lastUpdate when resetting the catalog
This commit is contained in:
parent
f285792e3a
commit
5b982c6e11
@ -131,6 +131,7 @@ public class ClearUrlCatalog {
|
||||
*/
|
||||
public void clear() {
|
||||
cntx.deleteFile(fileName);
|
||||
lastUpdate.clear();
|
||||
}
|
||||
|
||||
// ------------------- dialogs -------------------
|
||||
|
@ -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)
|
||||
);
|
||||
}
|
||||
|
@ -77,6 +77,7 @@ public abstract class GenericPref<T> {
|
||||
*/
|
||||
public void clear() {
|
||||
prefs.edit().remove(prefName).apply();
|
||||
|
||||
}
|
||||
|
||||
// ------------------- Implementations -------------------
|
||||
|
Loading…
Reference in New Issue
Block a user