mirror of https://github.com/BTCPrivate/copay.git
fixing application reload
This commit is contained in:
parent
4dfc1f9559
commit
a115a6d17a
|
@ -62,7 +62,7 @@
|
|||
<section class="left-small">
|
||||
<a class="left-off-canvas-toggle menu-icon" ><span></span></a>
|
||||
</section>
|
||||
<section class="right-small" ng-if="$root.iden && $root.iden.listWallets().length >1">
|
||||
<section class="right-small" ng-show="$root.iden && $root.iden.listWallets().length >1">
|
||||
<a class="right-off-canvas-toggle p10"><i class="icon-wallet size-24"></i></a>
|
||||
</section>
|
||||
|
||||
|
@ -73,11 +73,11 @@
|
|||
</section>
|
||||
</nav>
|
||||
|
||||
<aside class="left-off-canvas-menu">
|
||||
<aside class="left-off-canvas-menu" ng-show="$root.iden">
|
||||
<div ng-include="'views/includes/sidebar-mobile.html'"></div>
|
||||
</aside>
|
||||
|
||||
<aside class="right-off-canvas-menu" ng-if="$root.iden && $root.iden.listWallets().length >1">
|
||||
<aside class="right-off-canvas-menu" ng-show="$root.iden && $root.iden.listWallets().length >1">
|
||||
<div ng-include="'views/includes/walletbar-mobile.html'"></div>
|
||||
</aside>
|
||||
<div
|
||||
|
|
|
@ -5,7 +5,7 @@ angular.module('copayApp.services')
|
|||
var isChromeApp = window.chrome && chrome.runtime && chrome.runtime.id;
|
||||
|
||||
root.restart = function() {
|
||||
if (window.cordova !== undefined) {
|
||||
if (1 || window.cordova !== undefined) {
|
||||
$rootScope.iden = $rootScope.wallet = undefined;
|
||||
// NOP. no need to restart on cordova apps.
|
||||
$location.path('/');
|
||||
|
|
|
@ -41,7 +41,8 @@
|
|||
"setup-shell": "node shell/scripts/download-atom-shell.js",
|
||||
"postinstall": "./node_modules/.bin/grunt",
|
||||
"sign": "gpg -u 1112CFA1 --output browser-extensions/firefox/copay.xpi.sig --detach-sig browser-extensions/firefox/copay.xpi; gpg -u 1112CFA1 --output browser-extensions/chrome/copay-chrome-extension.zip.sig --detach-sig browser-extensions/chrome/copay-chrome-extension.zip",
|
||||
"verify": "gpg --verify browser-extensions/firefox/copay.xpi.sig browser-extensions/firefox/copay.xpi; gpg --verify browser-extensions/chrome/copay-chrome-extension.zip.sig browser-extensions/chrome/copay-chrome-extension.zip"
|
||||
"verify": "gpg --verify browser-extensions/firefox/copay.xpi.sig browser-extensions/firefox/copay.xpi; gpg --verify browser-extensions/chrome/copay-chrome-extension.zip.sig browser-extensions/chrome/copay-chrome-extension.zip",
|
||||
"ios": "cordova/build.sh && cd cordova/project && cordova build ios && open platforms/ios/Copay.xcodeproj"
|
||||
},
|
||||
"devDependencies": {
|
||||
"angular-gravatar": "*",
|
||||
|
|
Loading…
Reference in New Issue