add $apply

This commit is contained in:
Matias Alejo Garcia 2015-04-23 23:50:22 -03:00
parent 5554edf376
commit 370dfa942a
1 changed files with 3 additions and 0 deletions

View File

@ -531,6 +531,9 @@ angular.module('copayApp.controllers').controller('indexController', function($r
$rootScope.$on('Local/Offline', function(event) {
$log.debug('Offline event');
self.isOffline = true;
$timeout(function(){
$rootScope.$apply();
});
});
$rootScope.$on('Local/BackupDone', function(event) {