From 8a4b0795415f0fa2c5cdcf9ef86a2c44da6b178e Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Wed, 9 Aug 2017 20:44:24 -0700 Subject: Fix/misc (#140) * Add canadian locale to toLowerCase * Add try catch to JsAssets * Disable error throwing for bad search subject * Log more throwables quietly * Check internet connection before fetching username * Remove name check in frost notifications * Add activity lifecycle logger * Add rxjava to lib showcase --- app/src/main/kotlin/com/pitchedapps/frost/web/SearchWebView.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/SearchWebView.kt') diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/SearchWebView.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/SearchWebView.kt index f63f4fdc..84b91f5e 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/SearchWebView.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/SearchWebView.kt @@ -123,7 +123,8 @@ class SearchWebView(context: Context, val contract: SearchContract) : WebView(co L.d("Search loaded successfully") } 1 -> { //something is not found in the search view; this is effectively useless - L.eThrow("Search subject error; reverting to full overlay") + L.e("Search subject error; reverting to full overlay") + //todo add a way to fetch the html? Prefs.searchBar = false searchSubject.onComplete() contract.searchOverlayDispose() -- cgit v1.2.3