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,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesAltCurrencyController',
|
||||
function($scope, $log, $timeout, $ionicHistory, configService, rateService, lodash, profileService, walletService, storageService) {
|
||||
function($scope, $log, $timeout, $ionicHistory, configService, rateService, lodash, profileService, walletService, storageService, $ionicNavBarDelegate) {
|
||||
|
||||
var next = 10;
|
||||
var completeAlternativeList = [];
|
||||
|
|
@ -48,7 +48,7 @@ angular.module('copayApp.controllers').controller('preferencesAltCurrencyControl
|
|||
completeAlternativeList.push(c);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$scope.altCurrencyList = completeAlternativeList.slice(0, 10);
|
||||
$scope.lastUsedPopularList = lodash.unique(lodash.union($scope.lastUsedAltCurrencyList, popularCurrencyList), 'isoCode');
|
||||
|
||||
|
|
@ -114,4 +114,8 @@ angular.module('copayApp.controllers').controller('preferencesAltCurrencyControl
|
|||
init();
|
||||
});
|
||||
});
|
||||
|
||||
$scope.$on("$ionicView.enter", function(event, data) {
|
||||
$ionicNavBarDelegate.showBar(true);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue