diff options
author | Allan Wang <me@allanwang.ca> | 2017-07-13 17:19:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-13 17:19:19 -0700 |
commit | c3f1fc6a8b3216442a018bb04843dfa68d738918 (patch) | |
tree | 1eb9dc13fc46e7ed98550f6edbdd015af9c106b8 /app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewSearch.kt | |
parent | 1d364a1f5a8322ce8fbe200fcc9f5a41f91b41e8 (diff) | |
download | frost-c3f1fc6a8b3216442a018bb04843dfa68d738918.tar.gz frost-c3f1fc6a8b3216442a018bb04843dfa68d738918.tar.bz2 frost-c3f1fc6a8b3216442a018bb04843dfa68d738918.zip |
Separate pref strings, add notifs control, fix searchview (#60)v1.2.2
* Separate pref strings and add notif controls
* Add overlay toggle and minor cleanups
* Fix search view
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewSearch.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewSearch.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewSearch.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewSearch.kt index d4d08958..b3b1cfe5 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewSearch.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewSearch.kt @@ -64,7 +64,7 @@ class FrostWebViewSearch(context: Context, val contract: SearchContract) : WebVi element -> //split text into separate items L.v("Search element ${element.attr("href")}") - val texts = element.select("div").map { (it.ownText()) }.filter { it.isNotBlank() } + val texts = element.select("div").map { (it.text()) }.filter { it.isNotBlank() } val pair = Pair(texts, element.attr("href")) L.v("Search element potential $pair") pair |