mirror of https://github.com/BTCPrivate/copay.git
adding missing isCordova variable
This commit is contained in:
parent
52a690e31e
commit
9c5f5e1f2f
|
@ -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…
Reference in New Issue