Use new lock svg
This commit is contained in:
3
packages/website/public/images/lock_icon.svg
Normal file
3
packages/website/public/images/lock_icon.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg width="26" height="32" viewBox="0 0 26 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M6.47619 0C3.79509 0 1.60489 2.21216 1.60489 4.92014V6.33135C0.717479 6.33135 -3.60127e-08 7.05602 -3.60127e-08 7.95232V14.379C-3.60127e-08 15.2753 0.717479 16 1.60489 16H11.3475C12.2349 16 12.9524 15.2753 12.9524 14.379V7.95232C12.9524 7.05602 12.2349 6.33135 11.3475 6.33135V4.92014C11.3475 2.21216 9.1573 0 6.47619 0ZM9.6482 6.33135H3.30418V4.92014C3.30418 3.16567 4.72026 1.71633 6.47619 1.71633C8.23213 1.71633 9.6482 3.16567 9.6482 4.92014V6.33135Z" transform="scale(2)" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 604 B |
@@ -3,7 +3,6 @@ import * as _ from 'lodash';
|
||||
import CircularProgress from 'material-ui/CircularProgress';
|
||||
import RaisedButton from 'material-ui/RaisedButton';
|
||||
import ActionAccountBalanceWallet from 'material-ui/svg-icons/action/account-balance-wallet';
|
||||
import Lock from 'material-ui/svg-icons/action/lock';
|
||||
import * as React from 'react';
|
||||
|
||||
import { Blockchain } from 'ts/blockchain';
|
||||
@@ -12,6 +11,7 @@ import { AccountConnection } from 'ts/components/ui/account_connection';
|
||||
import { Container } from 'ts/components/ui/container';
|
||||
import { DropDown } from 'ts/components/ui/drop_down';
|
||||
import { Identicon } from 'ts/components/ui/identicon';
|
||||
import { Image } from 'ts/components/ui/image';
|
||||
import { Island } from 'ts/components/ui/island';
|
||||
import { Text } from 'ts/components/ui/text';
|
||||
import { Dispatcher } from 'ts/redux/dispatcher';
|
||||
@@ -154,7 +154,7 @@ export class ProviderDisplay extends React.Component<ProviderDisplayProps, Provi
|
||||
case AccountState.Loading:
|
||||
return <CircularProgress size={ROOT_HEIGHT} thickness={2} />;
|
||||
case AccountState.Locked:
|
||||
return <Lock color={colors.black} />;
|
||||
return <Image src="/images/lock_icon.svg" height="20px" width="20px" />;
|
||||
case AccountState.Disconnected:
|
||||
return <ActionAccountBalanceWallet color={colors.mediumBlue} />;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user