Skip to content

Commit

Permalink
Tweak encrypt option icons
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel committed Sep 3, 2020
1 parent dab6063 commit c868dcd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/renderer/views/encrypt/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ export default (props: Props) => {
sender: sender?.id,
options: {armored: true, noSenderRecipient: !addSenderRecipient, noSign: !sign},
}
console.log('Encrypt:', sender?.id, req.options)
const resp = await encrypt(req)
const encrypted = new TextDecoder().decode(resp.data)
store.update((s) => {
Expand Down Expand Up @@ -307,7 +306,7 @@ export default (props: Props) => {
disabled={!sender}
>
<Tooltip title="Add to Recipients">
<AddRecipientIcon style={{color: addSenderRecipient ? '' : '#666'}} />
<AddRecipientIcon style={{color: addSenderRecipient ? '' : '#999'}} />
</Tooltip>
</IconButton>

Expand All @@ -321,7 +320,7 @@ export default (props: Props) => {
disabled={!sender}
>
<Tooltip title="Sign">
<SignIcon style={{color: sign ? '' : '#666'}} />
<SignIcon style={{color: sign ? '' : '#999'}} />
</Tooltip>
</IconButton>
</Box>
Expand Down

0 comments on commit c868dcd

Please sign in to comment.