From c3f1fc6a8b3216442a018bb04843dfa68d738918 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Thu, 13 Jul 2017 17:19:19 -0700 Subject: Separate pref strings, add notifs control, fix searchview (#60) * Separate pref strings and add notif controls * Add overlay toggle and minor cleanups * Fix search view --- app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClient.kt') diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClient.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClient.kt index ce2daa07..5e5dc597 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClient.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClient.kt @@ -65,7 +65,7 @@ open class FrostWebViewClient(val webCore: FrostWebViewCore) : WebViewClient() { refreshObservable.onNext(false) webCore.jsInject( JsActions.LOGIN_CHECK, - JsAssets.CLICK_A.maybe(webCore.baseEnum != null), + JsAssets.CLICK_A.maybe(webCore.baseEnum != null && Prefs.overlayEnabled), JsAssets.CONTEXT_A, JsAssets.HEADER_BADGES.maybe(webCore.baseEnum != null) ) -- cgit v1.2.3