From 8f74ccdb48df27def3a086aa44f41059e6e82082 Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Fri, 1 Mar 2019 14:12:23 -0800 Subject: [PATCH] a few style tweaks --- app/controller.js | 3 ++- app/ui/download.js | 4 +--- app/ui/downloadPassword.js | 4 +--- app/ui/signupDialog.js | 9 ++++++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/controller.js b/app/controller.js index ac12da29..cd67e97a 100644 --- a/app/controller.js +++ b/app/controller.js @@ -269,7 +269,7 @@ export default function(state, emitter) { setInterval(() => { // poll for updates of the upload list - if (state.route === '/') { + if (!state.modal && state.route === '/') { checkFiles(); } }, 2 * 60 * 1000); @@ -277,6 +277,7 @@ export default function(state, emitter) { setInterval(() => { // poll for rerendering the file list countdown timers if ( + !state.modal && state.route === '/' && state.storage.files.length > 0 && Date.now() - lastRender > 30000 diff --git a/app/ui/download.js b/app/ui/download.js index b5d8c060..983acf8f 100644 --- a/app/ui/download.js +++ b/app/ui/download.js @@ -37,9 +37,7 @@ function preview(state, emit) { class="flex flex-col w-full max-w-md h-full mx-auto items-center justify-center" >

${state.translate('downloadFilesTitle')}

-

+

${state.translate('downloadMessage')}

${archiveTile.preview(state, emit)} diff --git a/app/ui/downloadPassword.js b/app/ui/downloadPassword.js index 795d2662..a505bf11 100644 --- a/app/ui/downloadPassword.js +++ b/app/ui/downloadPassword.js @@ -9,9 +9,7 @@ module.exports = function(state, emit) { class="h-full w-full flex flex-col items-center justify-center bg-white py-8 max-w-md mx-auto" >

${state.translate('downloadFilesTitle')}

-

+

${state.translate('downloadMessage')}

- +

${state.translate('accountBenefitTitle')}

-
    +
    • ${state.translate('accountBenefitLargeFiles', { size: bytes(state.LIMITS.MAX_FILE_SIZE) @@ -28,7 +31,7 @@ module.exports = function(trigger) {
    • ${state.translate('accountBenefitSync')}
-
+