diff --git a/dashboard-ui/cordova/ios/backgroundfetch.js b/dashboard-ui/cordova/ios/backgroundfetch.js index 3c42525e6e..1b4f79552c 100644 --- a/dashboard-ui/cordova/ios/backgroundfetch.js +++ b/dashboard-ui/cordova/ios/backgroundfetch.js @@ -48,7 +48,7 @@ function onBackgroundFetch() { Logger.log('BackgroundFetch initiated'); - startSync(false); + startSync(true); } function onBackgroundFetchFailed() { @@ -59,15 +59,15 @@ function restartInterval() { - //setInterval(function () { + setInterval(function () { - // startSync(false); + //startSync(true); - //}, syncInterval); + }, syncInterval); - //if (lastStart > 0 && (now - lastStart) >= syncInterval) { - // startSync(true); - //} + if (lastStart > 0 && (now - lastStart) >= syncInterval) { + //startSync(true); + } } Dashboard.ready(restartInterval); diff --git a/dashboard-ui/css/card.css b/dashboard-ui/css/card.css index d6328a4dfd..2f9c390f62 100644 --- a/dashboard-ui/css/card.css +++ b/dashboard-ui/css/card.css @@ -323,7 +323,7 @@ left: 0; right: 0; width: 50%; - height: 50%; + height: 50%; margin: auto; top: 22%; } @@ -418,10 +418,6 @@ } @media all and (min-width: 700px) { - .bannerCard { - width: 50%; - } - .squareCard { width: 25%; } @@ -435,6 +431,10 @@ @media all and (min-width: 800px) { + .bannerCard { + width: 50%; + } + .portraitCard { width: 20%; }