force the nav bar to appear if it disappears
This commit is contained in:
parent
35bc6ccdeb
commit
25a30eeb55
27 changed files with 110 additions and 30 deletions
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('tabScanController', function($scope, $log, $timeout, scannerService, incomingData, $state, $ionicHistory, $rootScope) {
|
||||
angular.module('copayApp.controllers').controller('tabScanController', function($scope, $log, $timeout, scannerService, incomingData, $state, $ionicHistory, $rootScope, $ionicNavBarDelegate) {
|
||||
|
||||
var scannerStates = {
|
||||
unauthorized: 'unauthorized',
|
||||
|
|
@ -55,6 +55,10 @@ angular.module('copayApp.controllers').controller('tabScanController', function(
|
|||
_refreshScanView();
|
||||
});
|
||||
|
||||
$scope.$on("$ionicView.enter", function(event, data) {
|
||||
$ionicNavBarDelegate.showBar(true);
|
||||
});
|
||||
|
||||
$scope.$on("$ionicView.afterEnter", function() {
|
||||
// try initializing and refreshing status any time the view is entered
|
||||
if(!scannerService.isInitialized()){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue