aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <flyswatter@users.noreply.github.com>2017-01-17 02:55:32 +0800
committerGitHub <noreply@github.com>2017-01-17 02:55:32 +0800
commit5dd5619e5db13370c1073246b51d6595f82ed7aa (patch)
treed160676084c7c3029468ec9633598b0e92745645 /ui
parent15e91f823ce5bc09410b1985aff34ef00825da5b (diff)
parente8e06542e47b41668f196b6db54290490003845b (diff)
downloadtangerine-wallet-browser-5dd5619e5db13370c1073246b51d6595f82ed7aa.tar
tangerine-wallet-browser-5dd5619e5db13370c1073246b51d6595f82ed7aa.tar.gz
tangerine-wallet-browser-5dd5619e5db13370c1073246b51d6595f82ed7aa.tar.bz2
tangerine-wallet-browser-5dd5619e5db13370c1073246b51d6595f82ed7aa.tar.lz
tangerine-wallet-browser-5dd5619e5db13370c1073246b51d6595f82ed7aa.tar.xz
tangerine-wallet-browser-5dd5619e5db13370c1073246b51d6595f82ed7aa.tar.zst
tangerine-wallet-browser-5dd5619e5db13370c1073246b51d6595f82ed7aa.zip
Merge branch 'master' into dev
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/coinbase-form.js8
-rw-r--r--ui/app/components/transaction-list-item.js3
-rw-r--r--ui/app/reducers/app.js2
-rw-r--r--ui/lib/explorer-link.js2
4 files changed, 7 insertions, 8 deletions
diff --git a/ui/app/components/coinbase-form.js b/ui/app/components/coinbase-form.js
index 693eb2ea8..430a3eead 100644
--- a/ui/app/components/coinbase-form.js
+++ b/ui/app/components/coinbase-form.js
@@ -72,7 +72,7 @@ CoinbaseForm.prototype.render = function () {
lineHeight: '13px',
},
},
- `there is a USD$ 5 a day max and a USD$ 50
+ `there is a USD$ 15 a day max and a USD$ 50
dollar limit per the life time of an account without a
coinbase account. A fee of 3.75% will be aplied to debit/credit cards.`),
@@ -136,14 +136,14 @@ CoinbaseForm.prototype.renderLoading = function () {
function isValidAmountforCoinBase (amount) {
amount = parseFloat(amount)
if (amount) {
- if (amount <= 5 && amount > 0) {
+ if (amount <= 15 && amount > 0) {
return {
valid: true,
}
- } else if (amount > 5) {
+ } else if (amount > 15) {
return {
valid: false,
- message: 'The amount can not be greater then $5',
+ message: 'The amount can not be greater then $15',
}
} else {
return {
diff --git a/ui/app/components/transaction-list-item.js b/ui/app/components/transaction-list-item.js
index bcd50c333..95e850264 100644
--- a/ui/app/components/transaction-list-item.js
+++ b/ui/app/components/transaction-list-item.js
@@ -28,7 +28,7 @@ TransactionListItem.prototype.render = function () {
let isLinkable = false
const numericNet = parseInt(network)
- isLinkable = numericNet === 1 || numericNet === 2
+ isLinkable = numericNet === 1 || numericNet === 3
var isMsg = ('msgParams' in transaction)
var isTx = ('txParams' in transaction)
@@ -42,7 +42,6 @@ TransactionListItem.prototype.render = function () {
}
const isClickable = ('hash' in transaction && isLinkable) || isPending
-
return (
h(`.transaction-list-item.flex-row.flex-space-between${isClickable ? '.pointer' : ''}`, {
onClick: (event) => {
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index 65a3dba49..dc7344b3e 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -446,7 +446,7 @@ function reduceApp (state, action) {
},
buyView: {
subview: 'buyForm',
- amount: '5.00',
+ amount: '15.00',
buyAddress: action.value,
formView: {
coinbase: true,
diff --git a/ui/lib/explorer-link.js b/ui/lib/explorer-link.js
index 2993d1cf1..dc6be2984 100644
--- a/ui/lib/explorer-link.js
+++ b/ui/lib/explorer-link.js
@@ -5,7 +5,7 @@ module.exports = function (hash, network) {
case 1: // main net
prefix = ''
break
- case 2: // morden test net
+ case 3: // morden test net
prefix = 'testnet.'
break
default: