Skip to content

Commit

Permalink
Readonly wallets redesign
Browse files Browse the repository at this point in the history
* also fixed some bugs.
  • Loading branch information
builat committed Dec 14, 2018
1 parent 9c812f8 commit fe87f7b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
1 change: 1 addition & 0 deletions app/InitialPage/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ class ProfilePopUp extends React.Component {
className="profile"
href={config.bsNodeProfile}
target="_blank"
rel="noopener noreferrer"
>
Blockstack profile
</a>
Expand Down
2 changes: 1 addition & 1 deletion app/Wallets/WalletList.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { connect } from "react-redux";
import { filter, equals } from "ramda";
import { filter } from "ramda";
import { withRouter } from "react-router-dom";
import styled from "styled-components";
import * as actions from "./WalletList/Actions";
Expand Down
2 changes: 0 additions & 2 deletions app/Wallets/WalletList/RenderFunctions.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
import React from "react";

export const SEND = 1;
12 changes: 5 additions & 7 deletions app/Wallets/WalletList/Views.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,17 +158,15 @@ export const WalletCard = withStyles(styles)(
selectedFiat,
wallet
}) => (
<Card className={classes.card}>
<Card className={classes.card} style={{backgroundColor: readOnly && '#545C67'}}>
<div
onClick={() => select(wallet)}
className={classes.cardHead}
style={{ marginBottom: "20px", position: "relative" }}
style={{
marginBottom: "20px",
position: "relative",
}}
>
{readOnly ? (
<ReadOnlyIcon>
<VisibilityOff className={classes.plusIcon} />
</ReadOnlyIcon>
) : null}
<img
src={logos[type]}
className={classes.logo}
Expand Down

0 comments on commit fe87f7b

Please sign in to comment.