-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Ledger Live bridge #10293
Implement Ledger Live bridge #10293
Changes from 1 commit
f8f7221
8d15a7c
924cb65
08d5ecd
770f4da
070c18f
75c22ae
bde398c
6d78d85
c0efd71
23710d2
718a52e
e0f72d2
60fafe5
84ff751
931b86c
d7ec62b
de08464
4b4ec1d
ea39201
08708ad
e631845
5de54f6
96e1426
09741f3
629ab6e
e473bcf
daaf61e
e1bf3a6
972f2ca
e8c9000
b907808
7b5a27a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,10 +33,4 @@ | |
visibility: hidden; | ||
} | ||
} | ||
|
||
&--disabled { | ||
opacity: 0.5; | ||
pointer-events: none; | ||
cursor: default; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -405,7 +405,6 @@ export default class AdvancedTab extends PureComponent { | |
onToggle={(value) => setLedgerLivePreference(!value)} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If Maybe this is something to solve another time, but this might be a good case for an inline error. Showing something to indicate a "loading" state might be nice as well, at least if it's a perceptible length of time. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like you've added a loading indicator, but failure still isn't shown to the user, beyond the toggle not changing state. I don't want to block on this, but we should definitely consider improving this in the future. |
||
offLabel={t('off')} | ||
onLabel={t('on')} | ||
disabled={!('usb' in window.navigator)} | ||
/> | ||
</div> | ||
</div> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably re-throw the error here, so that the caller of
setLedgerLivePreference
can see that something failed.