Merge pull request #5670 from gabrielbazan7/fix/missingvar

adding missing isCordova variable
This commit is contained in:
Gustavo Maximiliano Cortez 2017-02-24 15:32:28 -03:00 committed by GitHub
commit 99e1486df5
2 changed files with 6 additions and 4 deletions

View file

@ -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();