Skip to content

Commit

Permalink
Merge pull request #1 from michaeltout/master
Browse files Browse the repository at this point in the history
v0.1.1-beta bug fixes
  • Loading branch information
michaeltout authored Feb 24, 2019
2 parents 7673328 + 4caa706 commit 59f0845
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 10,652 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "verusmobile",
"version": "0.1.0-beta",
"version": "0.1.1-beta",
"private": true,
"scripts": {
"start": "meteor run",
Expand Down
2 changes: 1 addition & 1 deletion src/containers/SendCoin.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ class SendCoin extends Component {
To:
</FormLabel>
<FormInput
onChangeText={(text) => this.setState({toAddress: text})}
onChangeText={(text) => this.setState({toAddress: text.replace(/\s+/g, '')})}
onSubmitEditing={Keyboard.dismiss}
value={this.state.toAddress}
autoCapitalize={"none"}
Expand Down
21 changes: 3 additions & 18 deletions src/containers/VerusPay.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class VerusPay extends Component {
this.preConfirm(
activeCoin,
this.props.activeAccount,
this.findAddress(coinTicker),
address,
amount,
memo
)
Expand All @@ -126,7 +126,7 @@ class VerusPay extends Component {
this.preConfirm(
activeCoin,
this.props.activeAccount,
this.findAddress(coinTicker),
address,
amount,
memo
)
Expand All @@ -152,7 +152,7 @@ class VerusPay extends Component {
this.preConfirm(
activeCoin,
this.props.activeAccount,
this.findAddress(coinTicker),
address,
amount,
memo
)
Expand Down Expand Up @@ -271,21 +271,6 @@ class VerusPay extends Component {
}
}

findAddress = (coinTicker) => {
let activeUser = this.props.activeAccount
let index = 0

while (index < activeUser.keys.length && coinTicker !== activeUser.keys[index].id) {
index++
}
if (index < activeUser.keys.length) {
return activeUser.keys[index].pubKey
}
else {
throw "VerusPay.js: Fatal mismatch error, " + activeUser.id + " user keys for active coin " + coinTicker + " not found!";
}
}

canExitWallet = (fromTicker, toTicker) => {
return AlertAsync(
'Exiting Wallet',
Expand Down
2 changes: 1 addition & 1 deletion src/utils/navigation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const MainScreens =
TxDetails: {
screen: TransactionDetails,
navigationOptions: {
title: "Details",
title: "Info",
}
},
ConfirmSend: {
Expand Down
Loading

0 comments on commit 59f0845

Please sign in to comment.