refactor build scripts

This commit is contained in:
Matias Alejo Garcia 2016-08-10 17:35:40 -03:00
commit 23f7f56f3f
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
110 changed files with 512 additions and 954 deletions

View file

@ -21,6 +21,8 @@ angular.module('copayApp.controllers').controller('indexController', function($r
ret.prevState = 'walletHome';
ret.physicalScreenWidth = ((window.innerWidth > 0) ? window.innerWidth : screen.width);
ret.appConfig = window.appConfig;
// Only for testing
//storageService.checkQuota();

View file

@ -1,11 +1,14 @@
'use strict';
angular.module('copayApp.controllers').controller('sidebarController',
function($rootScope, $timeout, $ionicScrollDelegate, lodash, profileService, configService, go, platformInfo) {
function($rootScope, $timeout, $ionicScrollDelegate, lodash, profileService, configService, go, platformInfo, $window) {
var self = this;
self.isWindowsPhoneApp = platformInfo.isWP && platformInfo.isCordova;
self.walletSelection = false;
self.bitpayCardEnabled = $window.appConfig && $window.appConfig._enabledExtensions.debitcard;
// wallet list change
$rootScope.$on('Local/WalletListUpdated', function(event) {
self.walletSelection = false;

View file

@ -1733,6 +1733,7 @@ a.missing-copayers {
text-align: center;
padding: 1.7rem;
border-bottom: 1px solid #384B5F;
min-height: 8em;
h1 {
color: #fff;
margin: 0;