diff --git a/android/android.js b/android/android.js index 4105bbbf..ed6a9a9a 100644 --- a/android/android.js +++ b/android/android.js @@ -1,4 +1,5 @@ /* global window, navigator */ +import 'fluent-intl-polyfill'; import choo from 'choo'; import html from 'choo/html'; import Raven from 'raven-js'; @@ -78,9 +79,7 @@ function body(main) { }; //TODO state.archive = new Archive([], DEFAULTS.EXPIRE_SECONDS); state.storage = storage; - state.user = new User(storage, LIMITS, { - issuer: 'https://accounts.firefox.com' - }); + state.user = new User(storage, LIMITS); state.raven = Raven; }); app.use(metrics); diff --git a/android/pages/home.js b/android/pages/home.js index 1f066e55..84f227ab 100644 --- a/android/pages/home.js +++ b/android/pages/home.js @@ -33,16 +33,10 @@ module.exports = function(state, emit) { `; if (state.uploading) { - content = html` -
${archiveTile.uploading(state, emit)}
- `; + content = archiveTile.uploading(state, emit); button = ''; } else if (state.archive.numFiles > 0) { - content = html` -
- ${archiveTile.wip(state, emit)} -
- `; + content = archiveTile.wip(state, emit); button = ''; } else { content = @@ -50,15 +44,20 @@ module.exports = function(state, emit) { ? intro(state) : list( archives, - 'list-reset h-full overflow-y-auto w-full p-6', + 'list-reset h-full overflow-y-auto w-full', 'mb-3 w-full' ); } return html`
- ${state.modal && modal(state, emit)} ${content} -
+ ${state.modal && modal(state, emit)} +
+ ${content} +
+
${button} ${state.translate('introTitle')} -

+

${state.translate('introDescription')}