Fixed widget highlight color selection

This commit is contained in:
M66B
2022-07-30 12:15:50 +02:00
parent 7e7478828a
commit c306d4c024

View File

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