mirror of
https://github.com/M66B/NetGuard.git
synced 2025-02-24 07:10:50 +00:00
Show system app hint on init
This commit is contained in:
parent
620eb3c68c
commit
a2d52975b5
1 changed files with 1 additions and 1 deletions
|
@ -864,7 +864,7 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
|
|||
Button btnSystem = (Button) findViewById(R.id.btnSystem);
|
||||
boolean system = prefs.getBoolean("manage_system", false);
|
||||
boolean hintSystem = prefs.getBoolean("hint_system", true);
|
||||
llSystem.setVisibility(!system && hintSystem && !hintUsage ? View.VISIBLE : View.GONE);
|
||||
llSystem.setVisibility(!system && hintSystem ? View.VISIBLE : View.GONE);
|
||||
btnSystem.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
|
|
Loading…
Reference in a new issue