diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-03-04 02:01:20 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-03-06 18:56:49 +0100 |
commit | fc048a5fbef87deac4f36c63e71f969bc6301bee (patch) | |
tree | 9e2a3158f52d92d8b099d5b47630513d8257ff16 /packages/renderer/src/components/sidebar/ServiceSwitcher.tsx | |
parent | feat: Handle service load failures (diff) | |
download | sophie-fc048a5fbef87deac4f36c63e71f969bc6301bee.tar.gz sophie-fc048a5fbef87deac4f36c63e71f969bc6301bee.tar.zst sophie-fc048a5fbef87deac4f36c63e71f969bc6301bee.zip |
refactor(renderer): Location bar security label
Since electron doesn't have an API to extract the current certificate,
except in the case of certificate errors, there's no point in making the
security warning / padlock icon clickable.
We instead display a plain icon and a warning message.
We will later display the certificate details in case of a validation
error (when we have access to the certificate) as part of an error
message.
Also makes the security labels more visible to people with protanopia
who use the dark mode of the UI.
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/renderer/src/components/sidebar/ServiceSwitcher.tsx')
0 files changed, 0 insertions, 0 deletions