From f81c12fe884b6501ec731c9e635a286932c32cc1 Mon Sep 17 00:00:00 2001 From: Tom Lee Date: Mon, 1 Jan 2018 14:21:17 -0800 Subject: [PATCH] Gray out label when disabled Fix #7634 --- app/renderer/components/common/switchControl.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/renderer/components/common/switchControl.js b/app/renderer/components/common/switchControl.js index f37e5f532f2..8e94dae1f7e 100644 --- a/app/renderer/components/common/switchControl.js +++ b/app/renderer/components/common/switchControl.js @@ -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}