Skip to content

Commit

Permalink
Settings Icons: Show tick only if enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmud0808 committed Sep 16, 2023
1 parent d4d7f8f commit cc7c1c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ private void itemSelected(View parent, boolean state) {
parent.setBackground(ContextCompat.getDrawable(getApplicationContext(), R.drawable.container_selected));
((TextView) parent.findViewById(R.id.iconpack_title)).setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.colorAccent));
((TextView) parent.findViewById(R.id.iconpack_desc)).setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.colorAccent));
parent.findViewById(R.id.icon_selected).setVisibility(View.VISIBLE);
parent.findViewById(R.id.icon_selected).setVisibility(Prefs.getBoolean("IconifyComponentSIP1.overlay") ? View.VISIBLE : View.INVISIBLE);
parent.findViewById(R.id.iconpack_desc).setAlpha(0.8f);
} else {
parent.setBackground(ContextCompat.getDrawable(getApplicationContext(), R.drawable.item_background_material));
Expand Down

0 comments on commit cc7c1c1

Please sign in to comment.