aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/SearchWebView.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-08-09 20:44:24 -0700
committerGitHub <noreply@github.com>2017-08-09 20:44:24 -0700
commit8a4b0795415f0fa2c5cdcf9ef86a2c44da6b178e (patch)
tree9d832e964c58795578436c1c188ae864e012cf9c /app/src/main/kotlin/com/pitchedapps/frost/web/SearchWebView.kt
parent51ad3227b1a2d48b7d5c85965d9c3d5a9c4789a4 (diff)
downloadfrost-8a4b0795415f0fa2c5cdcf9ef86a2c44da6b178e.tar.gz
frost-8a4b0795415f0fa2c5cdcf9ef86a2c44da6b178e.tar.bz2
frost-8a4b0795415f0fa2c5cdcf9ef86a2c44da6b178e.zip
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
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/SearchWebView.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/web/SearchWebView.kt3
1 files changed, 2 insertions, 1 deletions
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()