From 6c4bf8b37a0a014b1ca6bcfb2681931ab2d91e1e Mon Sep 17 00:00:00 2001 From: Donovan Preston Date: Tue, 18 Dec 2018 11:14:22 -0500 Subject: [PATCH] Hide the preferences menu for the beta --- android/android.js | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/android/android.js b/android/android.js index 61750953..ad6c98b1 100644 --- a/android/android.js +++ b/android/android.js @@ -25,7 +25,7 @@ import Raven from 'raven-js'; import { setApiUrlPrefix } from '../app/api'; import metrics from '../app/metrics'; -import assets from '../common/assets'; +//import assets from '../common/assets'; import Header from '../app/ui/header'; import storage from '../app/storage'; import controller from '../app/controller'; @@ -50,26 +50,30 @@ app.use(intents); function body(main) { return function(state, emit) { - return html` - - - - - ${state.cache(Header, 'header').render()} ${main(state, emit)} - - `; - + /* + Disable the preferences menu for now since it is ugly and isn't + relevant to the beta function clickPreferences(event) { event.preventDefault(); emit('pushState', '/preferences'); } + + const menu = html` + + `; + */ + return html` + + ${state.cache(Header, 'header').render()} ${main(state, emit)} + + `; }; } (async function start() {