Fixed widget highlight color selection

pull/209/head
M66B 3 years ago
parent 7e7478828a
commit c306d4c024

@ -150,6 +150,7 @@ public class ActivityWidgetUnified extends ActivityBase {
@Override @Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
btnHighlight.setVisibility(checked && cbHighlight.isEnabled() ? View.VISIBLE : View.GONE); btnHighlight.setVisibility(checked && cbHighlight.isEnabled() ? View.VISIBLE : View.GONE);
btnHighlight.setEnabled(checked && cbHighlight.isEnabled());
} }
}); });

Loading…
Cancel
Save