-
Buy & Sell Bitcoin
+
Buy & Sell Bitcoin

@@ -78,15 +72,13 @@
-
Next steps
+
Next steps
-
- BitPay Card
+ BitPay Card
-
- Gift Cards
+ Gift Cards
diff --git a/src/js/controllers/tab-home.js b/src/js/controllers/tab-home.js
index e00cc6aba..e536ba718 100644
--- a/src/js/controllers/tab-home.js
+++ b/src/js/controllers/tab-home.js
@@ -4,24 +4,21 @@ angular.module('copayApp.controllers').controller('tabHomeController',
function($rootScope, $timeout, $scope, $state, lodash, profileService, walletService, configService, txFormatService, $ionicModal, $log, platformInfo) {
var setNotifications = function(notifications) {
-
var n = walletService.processNotifications(notifications, 5);
-
$scope.notifications = n;
- $scope.notificationsMore = notifications.length > 5 ? notifications.length - 5 : null;
+ $scope.notificationsMore = notifications.length > 5 ? notifications.length - 5 : null;
$timeout(function() {
$scope.$apply();
}, 1);
-
};
-
-
$scope.updateAllWallets = function() {
- $timeout(function() {
- $scope.wallets = profileService.getWallets();
+ $scope.wallets = profileService.getWallets();
+ if (lodash.isEmpty($scope.wallets)) return;
- var i = $scope.wallets.length, j =0;
+ $timeout(function() {
+ var i = $scope.wallets.length;
+ var j = 0;
var timeSpan = 60 * 60 * 24 * 7;
var notifications = [];
@@ -52,7 +49,7 @@ angular.module('copayApp.controllers').controller('tabHomeController',
});
});
- $scope.$digest();
+ $scope.$digest();
}, 100);
};
diff --git a/src/sass/main.scss b/src/sass/main.scss
index 2f31430a7..44ce5fa39 100644
--- a/src/sass/main.scss
+++ b/src/sass/main.scss
@@ -4,6 +4,10 @@
*
*/
+h3.title {
+ margin-left: 10px !important;
+}
+
.walletHome h4.title {
padding: 0px 0 10px 15px;
margin: 5px 0 5px 0;
@@ -521,6 +525,10 @@ ul.wallet-selection.wallets {
font-size: 28px;
}
+.size-32 {
+ font-size: 32px;
+}
+
.size-36 {
font-size: 36px;
}