-
+
Share this wallet address to receive payments. To protect your privacy, new addresses are generated automatically once you use them.
diff --git a/src/css/main.css b/src/css/main.css
index c3ee54f83..026d6d1ab 100644
--- a/src/css/main.css
+++ b/src/css/main.css
@@ -1121,6 +1121,7 @@ input.ng-invalid-match, input.ng-invalid-match:focus {
word-wrap: break-word;
text-align: center;
font-size: 14px;
+ margin: 10px;
}
.collapse {
@@ -1431,12 +1432,13 @@ input.ng-invalid-match, input.ng-invalid-match:focus {
/*/////////////////// SPINNER ////////////////////*/
-#history .spinner, #receive .spinner {
+#history .spinner, #receive .spinner, .copayers .spinner {
height: 46px;
}
#history .spinner > div,
-#receive .spinner > div
+#receive .spinner > div,
+.copayers .spinner > div
{
background-color: #7A8C9E;
}
diff --git a/src/css/mobile.css b/src/css/mobile.css
index cd9c9dd94..d670dcde7 100644
--- a/src/css/mobile.css
+++ b/src/css/mobile.css
@@ -267,12 +267,6 @@ _:-ms-fullscreen, :root .main {
bottom: 0;
}
-.copayers {
- position: relative;
- padding: 0;
- overflow-y: none;
-}
-
ul.copayer-list img {
width: 30px;
height: 30px;
diff --git a/src/js/controllers/copayers.js b/src/js/controllers/copayers.js
index 5a61e5af2..c8a950aab 100644
--- a/src/js/controllers/copayers.js
+++ b/src/js/controllers/copayers.js
@@ -16,8 +16,6 @@ angular.module('copayApp.controllers').controller('copayersController',
go.walletHome();
return;
}
- self.loading = false;
- self.isCordova = isCordova;
};
var _modalDeleteWallet = function() {
@@ -55,25 +53,23 @@ angular.module('copayApp.controllers').controller('copayersController',
var _deleteWallet = function() {
var fc = profileService.focusedClient;
- $timeout(function() {
- var fc = profileService.focusedClient;
- var walletName = fc.credentials.walletName;
-
- profileService.deleteWalletFC({}, function(err) {
- if (err) {
- this.error = err.message || err;
- console.log(err);
- $timeout(function() {
- $scope.$digest();
- });
- } else {
- go.walletHome();
- $timeout(function() {
- notification.success(gettextCatalog.getString('Success'), gettextCatalog.getString('The wallet "{{walletName}}" was deleted', {walletName: walletName}));
- });
- }
- });
- }, 100);
+ var walletName = fc.credentials.walletName;
+ profileService.deleteWalletFC({}, function(err) {
+ if (err) {
+ self.error = err.message || err;
+ $timeout(function() {
+ $scope.$digest();
+ });
+ } else {
+ go.walletHome();
+ $timeout(function() {
+ notification.success(
+ gettextCatalog.getString('Success'),
+ gettextCatalog.getString('The wallet "{{walletName}}" was deleted', {walletName: walletName})
+ );
+ });
+ }
+ });
};
self.deleteWallet = function() {