mirror of https://github.com/trezor/trezor-wallet
commit
e1d2852faa
@ -0,0 +1,14 @@
|
|||||||
|
# 1.0.1-beta
|
||||||
|
__added__
|
||||||
|
- DigiByte in coin menu
|
||||||
|
- blocking device with seedless setup
|
||||||
|
|
||||||
|
__fixed__
|
||||||
|
- token input in "Account/Summary" (https://github.com/trezor/trezor-wallet/issues/235)
|
||||||
|
- "Go to your standard wallet" button in passphrase modal (https://github.com/trezor/trezor-wallet/issues/222)
|
||||||
|
- Double click on "show passphrase" (https://github.com/trezor/trezor-wallet/issues/221)
|
||||||
|
- images preloader for offline status (https://github.com/trezor/trezor-wallet/issues/218)
|
||||||
|
|
||||||
|
|
||||||
|
# 1.0.0-beta
|
||||||
|
- first release
|
After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 408 KiB |
After Width: | Height: | Size: 509 KiB |
@ -0,0 +1,25 @@
|
|||||||
|
import React, { Component } from 'react';
|
||||||
|
import styled from 'styled-components';
|
||||||
|
|
||||||
|
const Wrapper = styled.div`
|
||||||
|
display: none;
|
||||||
|
`;
|
||||||
|
|
||||||
|
const Img = styled.img``;
|
||||||
|
|
||||||
|
class ImagesPreloader extends Component {
|
||||||
|
importAll(r) {
|
||||||
|
return r.keys().map(r);
|
||||||
|
}
|
||||||
|
|
||||||
|
render() {
|
||||||
|
const images = this.importAll(require.context('../images', false, /\.(png|jpe?g)$/));
|
||||||
|
return (
|
||||||
|
<Wrapper>
|
||||||
|
{images.map(image => <Img key={image} src={image} />)}
|
||||||
|
</Wrapper>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default ImagesPreloader;
|
@ -0,0 +1,36 @@
|
|||||||
|
import styled from 'styled-components';
|
||||||
|
import { H2 } from 'components/Heading';
|
||||||
|
import Paragraph from 'components/Paragraph';
|
||||||
|
import React from 'react';
|
||||||
|
import { connect } from 'react-redux';
|
||||||
|
|
||||||
|
const Wrapper = styled.div`
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
`;
|
||||||
|
|
||||||
|
const Row = styled.div`
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
`;
|
||||||
|
|
||||||
|
const StyledParagraph = styled(Paragraph)`
|
||||||
|
margin: 10px 50px;
|
||||||
|
display: block;
|
||||||
|
text-align: center;
|
||||||
|
`;
|
||||||
|
|
||||||
|
const Seedless = () => (
|
||||||
|
<Wrapper>
|
||||||
|
<Row>
|
||||||
|
<H2>Device is in seedless mode</H2>
|
||||||
|
<StyledParagraph>It's not suitable to use this service.</StyledParagraph>
|
||||||
|
</Row>
|
||||||
|
</Wrapper>
|
||||||
|
);
|
||||||
|
|
||||||
|
export default connect(null, null)(Seedless);
|
Loading…
Reference in new issue