mirror of
https://github.com/M66B/NetGuard.git
synced 2025-02-21 13:56:58 +00:00
Remove launch button instead of disabling
This commit is contained in:
parent
3d8ac05a7b
commit
76fa6208ce
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ public class RuleAdapter extends RecyclerView.Adapter<RuleAdapter.ViewHolder> im
|
|||
}
|
||||
});
|
||||
|
||||
holder.btnLaunch.setEnabled(rule.intent != null);
|
||||
holder.btnLaunch.setVisibility(rule.intent == null ? View.GONE : View.VISIBLE);
|
||||
holder.btnLaunch.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
|
|
Loading…
Reference in a new issue