1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-02-23 23:00:56 +00:00

Show system app hint on init

This commit is contained in:
M66B 2016-12-26 11:24:18 +01:00
parent 620eb3c68c
commit a2d52975b5

View file

@ -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) {