diff --git a/src/js/controllers/preferencesLogs.js b/src/js/controllers/preferencesLogs.js index 94b82e100..7d356e615 100644 --- a/src/js/controllers/preferencesLogs.js +++ b/src/js/controllers/preferencesLogs.js @@ -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(); diff --git a/www/views/preferencesLogs.html b/www/views/preferencesLogs.html index 165490b9b..486a8d34d 100644 --- a/www/views/preferencesLogs.html +++ b/www/views/preferencesLogs.html @@ -6,12 +6,10 @@
-