wallet-bar for small devices

This commit is contained in:
Gustavo Maximiliano Cortez 2014-12-04 20:43:27 -03:00
commit 244ea456c6
7 changed files with 39 additions and 36 deletions

View file

@ -1,9 +1,16 @@
'use strict';
angular.module('copayApp.controllers').controller('HomeWalletController', function($scope, $rootScope, $timeout, $filter, rateService, notification) {
angular.module('copayApp.controllers').controller('HomeWalletController', function($scope, $rootScope, $timeout, $filter, $location, rateService, notification, identityService) {
$scope.init = function() {
$rootScope.title = 'Home';
// fix for Safari and mobile devices
var walletId = $location.hash();
if (walletId) {
$location.hash('');
identityService.setFocusedWallet(walletId);
}
$scope.rateService = rateService;
$scope.isRateAvailable = false;
@ -100,8 +107,6 @@ angular.module('copayApp.controllers').controller('HomeWalletController', functi
},1)
}, 100);
$scope.sign = function(ntxid) {
var w = $rootScope.wallet;
$scope.loading = true;