From 6e0da428acb66c7daa6040ec4a788d5d7a6a7880 Mon Sep 17 00:00:00 2001 From: Dan Miller Date: Fri, 28 May 2021 16:16:49 -0230 Subject: [PATCH] Revert "Disable Ledger Live toggle for Firefox users (#11169)" This reverts commit dec34fa4c6914a42457a62faa27140c8a1d30e97. --- ui/app/components/ui/toggle-button/index.scss | 4 ---- .../ui/toggle-button/toggle-button.component.js | 11 +++-------- .../settings/advanced-tab/advanced-tab.component.js | 4 ---- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/ui/app/components/ui/toggle-button/index.scss b/ui/app/components/ui/toggle-button/index.scss index 57bbd4505..e37833c1c 100644 --- a/ui/app/components/ui/toggle-button/index.scss +++ b/ui/app/components/ui/toggle-button/index.scss @@ -33,8 +33,4 @@ visibility: hidden; } } - - &--disabled { - opacity: 0.5; - } } diff --git a/ui/app/components/ui/toggle-button/toggle-button.component.js b/ui/app/components/ui/toggle-button/toggle-button.component.js index 2c935ad90..d16bcfcfc 100644 --- a/ui/app/components/ui/toggle-button/toggle-button.component.js +++ b/ui/app/components/ui/toggle-button/toggle-button.component.js @@ -47,19 +47,15 @@ const colors = { }; const ToggleButton = (props) => { - const { value, onToggle, offLabel, onLabel, disabled } = props; + const { value, onToggle, offLabel, onLabel } = props; const modifier = value ? 'on' : 'off'; return ( -
+
setLedgerLivePreference(!value)} offLabel={t('off')} onLabel={t('on')} - disabled={getPlatform() === PLATFORM_FIREFOX} />