Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Gray out label when disabled
Browse files Browse the repository at this point in the history
Fix #7634
  • Loading branch information
user512 committed Jan 2, 2018
1 parent f7d8df6 commit f81c12f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/renderer/components/common/switchControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ class SwitchControl extends ImmutableComponent {
styles.switchControl__text__label,
styles.switchControl__text__label_right,
this.props.small && styles.switchControl__text__label_small,
this.props.disabled && styles.switchControl__text_disabled,
this.props.customStyleTextRight
)}
data-l10n-id={this.props.rightl10nId}
Expand Down

0 comments on commit f81c12f

Please sign in to comment.