support wide screens
This commit is contained in:
parent
27f3ebf376
commit
2c300d422e
7 changed files with 44 additions and 15 deletions
|
|
@ -18,6 +18,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
ret.historyShowMoreLimit = 10;
|
||||
ret.isSearching = false;
|
||||
ret.prevState = 'walletHome';
|
||||
ret.physicalScreenWidth = ((window.innerWidth > 0) ? window.innerWidth : screen.width);
|
||||
|
||||
ret.menu = [{
|
||||
'title': gettext('Receive'),
|
||||
|
|
@ -1677,6 +1678,10 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.setTab(tab, reset);
|
||||
});
|
||||
|
||||
$rootScope.$on('Local/WindowResize', function() {
|
||||
self.physicalScreenWidth = ((window.innerWidth > 0) ? window.innerWidth : screen.width);
|
||||
});
|
||||
|
||||
$rootScope.$on('Local/NeedsConfirmation', function(event, txp, cb) {
|
||||
|
||||
function openConfirmationPopup(txp, cb) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue