remove next address button - add copy to clipboard - load list after transition
This commit is contained in:
parent
eed409b097
commit
b564be7275
7 changed files with 19 additions and 30 deletions
|
|
@ -111,7 +111,7 @@ angular.module('copayApp.controllers').controller('addressesController', functio
|
|||
});
|
||||
};
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
$scope.$on("$ionicView.afterEnter", function(event, data) {
|
||||
config = configService.getSync().wallet.settings;
|
||||
unitToSatoshi = config.unitToSatoshi;
|
||||
satToUnit = 1 / unitToSatoshi;
|
||||
|
|
|
|||
|
|
@ -776,10 +776,8 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
|
|||
root.getMainAddresses = function(wallet, opts, cb) {
|
||||
opts = opts || {};
|
||||
opts.reverse = true;
|
||||
|
||||
wallet.getMainAddresses(opts, function(err, addresses) {
|
||||
if (err) return cb(err);
|
||||
return cb(null, addresses);
|
||||
return cb(err, addresses);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -4,11 +4,6 @@
|
|||
padding: 0 1rem;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
&-heading {
|
||||
font-size: 17px;
|
||||
color: $dark-gray;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
&-description {
|
||||
text-align: center;
|
||||
font-size: 15px;
|
||||
|
|
@ -20,10 +15,6 @@
|
|||
cursor: hand;
|
||||
}
|
||||
}
|
||||
&-description-disabled {
|
||||
color: cadetblue;
|
||||
text-decoration: none;
|
||||
}
|
||||
&-balance {
|
||||
margin-top: 4px;
|
||||
color: #5DD263;
|
||||
|
|
@ -32,15 +23,19 @@
|
|||
margin-top: 4px;
|
||||
color: #B8B8B8;
|
||||
}
|
||||
.addr-title, .addr-value {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.addr-list {
|
||||
.big-icon-svg {
|
||||
padding: 0 7px;
|
||||
border-radius: 50%;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
box-shadow: none;
|
||||
background-repeat: no-repeat;
|
||||
background-clip: padding-box;
|
||||
background-size: 103%;
|
||||
}
|
||||
.item {
|
||||
color: $dark-gray;
|
||||
padding-top: 1.3rem;
|
||||
|
|
|
|||
|
|
@ -86,6 +86,8 @@
|
|||
.bit-address {
|
||||
font-size: .8rem;
|
||||
// left:10%;
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
position: absolute;
|
||||
transition: all .15s ease;
|
||||
width:100%;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue