Merge pull request #4629 from matiu/bug/nw-quota

Bug/nw quota
This commit is contained in:
Matias Alejo Garcia 2016-07-28 17:24:26 -03:00 committed by GitHub
commit 72e53771ad
12 changed files with 98 additions and 37 deletions

View file

@ -11,6 +11,7 @@ angular.module('copayApp.controllers').controller('disclaimerController',
var create = function(opts) {
opts = opts || {};
$log.debug('Creating profile');
profileService.create(opts, function(err) {
if (err) {
$log.warn(err);
@ -30,7 +31,6 @@ angular.module('copayApp.controllers').controller('disclaimerController',
}
}, 3000);
};
$scope.error = "";
ongoingProcess.set('creatingWallet', false);
});

View file

@ -348,9 +348,9 @@ angular.module('copayApp.controllers').controller('importController',
};
$scope.setSeedSource = function() {
if (!$scope.seedSource) return;
$scope.seedSourceId = $scope.seedSource.id;
$timeout(function() {
$rootScope.$apply();
});

View file

@ -20,6 +20,9 @@ angular.module('copayApp.controllers').controller('indexController', function($r
ret.prevState = 'walletHome';
ret.physicalScreenWidth = ((window.innerWidth > 0) ? window.innerWidth : screen.width);
// Only for testing
//storageService.checkQuota();
ret.menu = [{
'title': gettext('Receive'),
'icon': {