Merge pull request #5670 from gabrielbazan7/fix/missingvar
adding missing isCordova variable
This commit is contained in:
commit
99e1486df5
2 changed files with 6 additions and 4 deletions
|
|
@ -1,7 +1,11 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesLogs',
|
||||
function($scope, historicLog) {
|
||||
function($scope, historicLog, platformInfo) {
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
$scope.isCordova = platformInfo.isCordova;
|
||||
});
|
||||
|
||||
$scope.$on("$ionicView.enter", function(event, data) {
|
||||
$scope.logs = historicLog.get();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue