fix sidebar hamburger when changing wallet
This commit is contained in:
parent
fa39cee3b6
commit
1aff66091b
2 changed files with 4 additions and 3 deletions
|
|
@ -98,6 +98,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
if (k == 'tab') return;
|
||||
if (k == 'noFocusedWallet') return;
|
||||
if (k == 'backgroundColor') return;
|
||||
if (k == 'physicalScreenWidth') return;
|
||||
if (k == 'loadingWallet') {
|
||||
self.loadingWallet = true;
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -508,7 +508,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
}
|
||||
});
|
||||
})
|
||||
.run(function($rootScope, $state, $location, $log, $timeout, $ionicPlatform, platformInfo, profileService, uxLanguage, go, gettextCatalog) {
|
||||
.run(function($rootScope, $state, $location, $log, $timeout, $ionicPlatform, lodash, platformInfo, profileService, uxLanguage, go, gettextCatalog) {
|
||||
|
||||
if (platformInfo.isCordova) {
|
||||
if (screen.width < 768) {
|
||||
|
|
@ -527,9 +527,9 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
}
|
||||
} else {
|
||||
if (screen.width >= 768) {
|
||||
window.addEventListener('resize', function() {
|
||||
window.addEventListener('resize', lodash.throttle(function() {
|
||||
$rootScope.$emit('Local/WindowResize');
|
||||
});
|
||||
}, 100));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue