From 2501eb7ed02caf2af391f4d92677cd462cd2a5a8 Mon Sep 17 00:00:00 2001 From: Egor Date: Sun, 27 Nov 2016 18:19:22 -0800 Subject: [PATCH] github ribbon is back --- README.md | 6 +++--- web/app/pods/components/huegasm-app/template.hbs | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 752863c..73f8dbc 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,9 @@ It lives at http://www.huegasm.com ## Current priorities - create a hybrid app with Cardova -## WTF -Cordova disables the volume buttons for some reason. Monkey patching that shit ( must be a better way :( ). -Comment out: webView.setButtonPlumbedToJs lines from its source code. +## WTF moments +Cordova disables the volume buttons for some reason. Monkey patching: +Comment out the webView.setButtonPlumbedToJs lines for volume buttons from its source code before building android. ## POSSIBLE FUTURE FEATURES - decode the hue color better diff --git a/web/app/pods/components/huegasm-app/template.hbs b/web/app/pods/components/huegasm-app/template.hbs index c3b0ac1..7d29970 100644 --- a/web/app/pods/components/huegasm-app/template.hbs +++ b/web/app/pods/components/huegasm-app/template.hbs @@ -1,6 +1,10 @@ {{#if bridgeUsername}} {{hue-controls bridgeIp=bridgeIp bridgeUsername=bridgeUsername trial=trial dimmerOn=dimmerOn storage=storage action="toggleDimmer"}} {{else}} + + Fork me on GitHub + + {{#if ready}} {{bridge-finder bridgeIp=bridgeIp bridgeUsername=bridgeUsername trial=trial storage=storage}} {{else}}