From 6b9a735bec6a3445c4a8a5ce57bd530b33823c9f Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Tue, 25 Sep 2018 11:36:23 -0700 Subject: [PATCH] parameterize download count dropdown on android --- android/android.js | 2 ++ android/pages/options.js | 15 ++++++--------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/android/android.js b/android/android.js index 1055146c..a19dd05e 100644 --- a/android/android.js +++ b/android/android.js @@ -14,6 +14,8 @@ window.LIMITS = { }; window.DEFAULTS = { + DOWNLOAD_COUNTS: [1, 2, 3, 4, 5, 20, 50, 100, 200], + EXPIRE_TIMES_SECONDS: [300, 3600, 86400, 604800], EXPIRE_SECONDS: 3600 }; diff --git a/android/pages/options.js b/android/pages/options.js index 04587e56..8491305b 100644 --- a/android/pages/options.js +++ b/android/pages/options.js @@ -1,3 +1,4 @@ +/* globals DEFAULTS */ const html = require('choo/html'); export default function options(state, emit) { @@ -55,15 +56,11 @@ export default function options(state, emit) {
Expires after
or