adding missing isCordova variable

This commit is contained in:
Gabriel Bazán 2017-02-23 16:18:15 -05:00
commit 9c5f5e1f2f

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