Skip to content

Commit ec8f7f1

Browse files
committed
-adjusted parameters
1 parent f95891b commit ec8f7f1

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

electron-ui/cc_wallet/cc_wallet_renderer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ function get_wallet_summaries_response(data){
206206
} else if (name=="COLOURED_COIN") {
207207
name = "CC Wallet"
208208
type = wallet["name"]
209-
if (type.length > 20) {
210-
type = type.substring(0,20);
209+
if (type.length > 18) {
210+
type = type.substring(0,18);
211211
type = type.concat("...")
212212
}
213213
}

electron-ui/renderer.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,6 @@ function get_wallet_summaries() {
608608
function get_wallet_summaries_response(data){
609609
// {id: {"type": type, "balance": balance, "name": name, "colour": colour}}
610610
// {id: {"type": type, "balance": balance}}
611-
console.log("reveived get_wallet_summaries")
612611
var new_innerHTML = ""
613612
for (var i in data) {
614613
var wallet = data[i];
@@ -621,8 +620,8 @@ function get_wallet_summaries_response(data){
621620
} else if (name=="COLOURED_COIN") {
622621
name = "CC Wallet"
623622
type = wallet["name"]
624-
if (type.length > 20) {
625-
type = type.substring(0,20);
623+
if (type.length > 18) {
624+
type = type.substring(0,18);
626625
type = type.concat("...")
627626
}
628627
}

0 commit comments

Comments
 (0)