-
Notifications
You must be signed in to change notification settings - Fork 589
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #243 from balance-io/develop
Deploy v0.2.1-3 [Master]
- Loading branch information
Showing
41 changed files
with
1,219 additions
and
1,259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/) | ||
|
||
## [Unreleased] | ||
|
||
### Added | ||
|
||
### Changed | ||
|
||
### Removed | ||
|
||
## [0.2.1-3](https://github.com/balance-io/balance-wallet/releases/tag/v0.2.1-3) | ||
### Added | ||
* NFT attributes page | ||
* Offline status indicator | ||
* Support for message signing via WalletConnect | ||
* Piwik support | ||
* Storing 'hide assets' selection | ||
* Grouping WalletConnect sessions view by dapp name | ||
* Clearing out notifications once app opened | ||
|
||
### Changed | ||
* Fixed network spinner issue for older iPhones | ||
* Fixed Add Funds flashing at app loading | ||
* Better camera handling for overall app performance | ||
* Navigation fixes |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
import PropTypes from 'prop-types'; | ||
import React from 'react'; | ||
import lang from 'i18n-js'; | ||
import styled from 'styled-components'; | ||
import { BlockButton } from '../components/buttons'; | ||
import { Column } from '../components/layout'; | ||
import { | ||
Smallcaps, | ||
Text, | ||
} from '../components/text'; | ||
import { withSafeAreaViewInsetValues } from '../hoc'; | ||
import { borders, colors, fonts, padding, position } from '../styles'; | ||
|
||
const Message = styled(Text).attrs({ size: 'lmedium' })` | ||
color: ${colors.alpha(colors.blueGreyDark, 0.6)} | ||
margin-top: 5; | ||
`; | ||
|
||
const MessageRow = styled(Column)` | ||
${padding(19, 19, 18)} | ||
flex-shrink: 0; | ||
`; | ||
|
||
const BottomSheet = styled(Column).attrs({ justify: 'space-between' })` | ||
${borders.buildRadius('top', 15)} | ||
background-color: ${colors.white}; | ||
flex: 0; | ||
min-height: ${({ bottomInset }) => (bottomInset + 236)}; | ||
padding-bottom: ${({ bottomInset }) => bottomInset}; | ||
width: 100%; | ||
`; | ||
|
||
const SendButtonContainer = styled.View` | ||
${padding(7, 15, 14)} | ||
flex-shrink: 0; | ||
`; | ||
|
||
const MessageSigningSection = ({ | ||
message, | ||
onSignMessage, | ||
safeAreaInset, | ||
}) => ( | ||
<BottomSheet bottomInset={safeAreaInset.bottom}> | ||
<MessageRow> | ||
<Smallcaps>{lang.t('wallet.message_signing.message')}</Smallcaps> | ||
<Message>{message}</Message> | ||
</MessageRow> | ||
<SendButtonContainer> | ||
<BlockButton onPress={onSignMessage}> | ||
{lang.t('wallet.message_signing.sign')} | ||
</BlockButton> | ||
</SendButtonContainer> | ||
</BottomSheet> | ||
); | ||
|
||
MessageSigningSection.propTypes = { | ||
message: PropTypes.string, | ||
onSignMessage: PropTypes.func, | ||
safeAreaInset: PropTypes.object, | ||
}; | ||
|
||
export default withSafeAreaViewInsetValues(MessageSigningSection); |
Oops, something went wrong.