mirror of https://github.com/M66B/NetGuard.git
Do not import last hosts file import/download time
This commit is contained in:
parent
60a3babb4e
commit
bb3f4bf212
|
@ -1141,8 +1141,8 @@ public class ActivitySettings extends AppCompatActivity implements SharedPrefere
|
|||
if ("enabled".equals(key))
|
||||
enabled = Boolean.parseBoolean(value);
|
||||
else {
|
||||
// Pro features
|
||||
if (current == application)
|
||||
if (current == application) {
|
||||
// Pro features
|
||||
if ("log".equals(key)) {
|
||||
if (!IAB.isPurchased(ActivityPro.SKU_LOG, context))
|
||||
return;
|
||||
|
@ -1154,6 +1154,10 @@ public class ActivitySettings extends AppCompatActivity implements SharedPrefere
|
|||
return;
|
||||
}
|
||||
|
||||
if ("hosts_last_import".equals(key) || "hosts_last_download".equals(key))
|
||||
return;
|
||||
}
|
||||
|
||||
if ("boolean".equals(type))
|
||||
current.put(key, Boolean.parseBoolean(value));
|
||||
else if ("integer".equals(type))
|
||||
|
|
Loading…
Reference in New Issue