force the nav bar to appear if it disappears

This commit is contained in:
Kadir Sekha 2018-02-28 14:15:44 +05:00
commit 25a30eeb55
27 changed files with 110 additions and 30 deletions

View file

@ -1,6 +1,6 @@
'use strict';
angular.module('copayApp.controllers').controller('shapeshiftController', function($scope, $interval, profileService, walletService, popupService, lodash) {
angular.module('copayApp.controllers').controller('shapeshiftController', function($scope, $interval, profileService, walletService, popupService, lodash, $ionicNavBarDelegate) {
var walletsBtc = [];
var walletsBch = [];
@ -53,6 +53,10 @@ angular.module('copayApp.controllers').controller('shapeshiftController', functi
$scope.showToWallets = false;
});
$scope.$on("$ionicView.enter", function(event, data) {
$ionicNavBarDelegate.showBar(true);
});
$scope.showFromWalletSelector = function() {
$scope.showFromWallets = true;
}