adding missing isCordova variable

This commit is contained in:
Gabriel Bazán 2017-02-23 16:18:15 -05:00
parent 52a690e31e
commit 9c5f5e1f2f
1 changed files with 5 additions and 1 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();