mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-04 06:23:04 +00:00
Ask if sure on DNS clear
This commit is contained in:
parent
026d7b95d9
commit
fdd807335f
1 changed files with 6 additions and 1 deletions
|
@ -66,7 +66,12 @@ public class ActivityDns extends AppCompatActivity {
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case R.id.menu_clear:
|
case R.id.menu_clear:
|
||||||
clear();
|
Util.areYouSure(this, R.string.menu_clear, new Util.DoubtListener() {
|
||||||
|
@Override
|
||||||
|
public void onSure() {
|
||||||
|
clear();
|
||||||
|
}
|
||||||
|
});
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue