diff --git a/css/src/mobile.css b/css/src/mobile.css index 1112fd8ba..c799d0c1e 100644 --- a/css/src/mobile.css +++ b/css/src/mobile.css @@ -28,7 +28,7 @@ margin-top: 40px; margin-left: 0; margin-bottom: -40px; - padding: 20px 0 110px 0; + padding: 20px 0 90px 0; } .tab-bar { diff --git a/js/init.js b/js/init.js index 57a364790..0c1fd483f 100644 --- a/js/init.js +++ b/js/init.js @@ -1,6 +1,18 @@ 'use strict'; angular.element(document).ready(function() { - // Init the app - angular.bootstrap(document, ['copayApp']); + var startAngular = function () { + angular.bootstrap(document, ['copayApp']); + }; + + if (window.cordova !== undefined) { + document.addEventListener('deviceready', function() { + setTimeout(function(){ navigator.splashscreen.hide(); }, 2000); + + startAngular(); + }); + } else { + startAngular(); + } + });