diff options
author | Allan Wang <me@allanwang.ca> | 2017-07-04 03:28:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-04 03:28:52 -0400 |
commit | 7a13673828f088c179763e8621a94e334319f226 (patch) | |
tree | 4fb055ac8e180d7ce0eb4a9e3c88dc6230ff8187 /app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt | |
parent | caf3c4187706ba436fad5e3fa4fd1476a9a4e3ee (diff) | |
download | frost-7a13673828f088c179763e8621a94e334319f226.tar.gz frost-7a13673828f088c179763e8621a94e334319f226.tar.bz2 frost-7a13673828f088c179763e8621a94e334319f226.zip |
Misc fixes
* Remove experimental by default
* Update theme
* Update glide caching to reload with every version
* Pause hidden searchview when not in use
* Convert glide to glide app
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt index b8d47027..d52c12ac 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/MainActivity.kt @@ -77,6 +77,8 @@ class MainActivity : BaseActivity(), FrostWebViewSearch.SearchContract { } } var searchView: SearchView? = null + override val isSearchOpened: Boolean + get() = searchView?.isOpen ?: false companion object { const val FRAGMENT_REFRESH = 99 |