diff options
author | Allan Wang <me@allanwang.ca> | 2017-11-12 04:03:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-12 04:03:41 -0500 |
commit | 4aed05a8923a7f76799bbaa254f407f7e11fef0b (patch) | |
tree | badd20ad111989ce7bbeed3f7e9ed8df47b94331 /app/src/main/kotlin/com/pitchedapps/frost/intro/IntroFragmentTheme.kt | |
parent | 2b51bc4bfa86863ed14b550fe3281840587ab038 (diff) | |
download | frost-4aed05a8923a7f76799bbaa254f407f7e11fef0b.tar.gz frost-4aed05a8923a7f76799bbaa254f407f7e11fef0b.tar.bz2 frost-4aed05a8923a7f76799bbaa254f407f7e11fef0b.zip |
Translations (#482)
* Update translators
* Remove translation for some other texts
* Update kau
* Fix build and optimize
* Add translations
* Update readme and changelog
* Clean unnecessary strings
* Fix translations
* Add korean translations for kau
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/intro/IntroFragmentTheme.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/intro/IntroFragmentTheme.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroFragmentTheme.kt b/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroFragmentTheme.kt index 37f93987..f91d77ea 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroFragmentTheme.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroFragmentTheme.kt @@ -37,8 +37,7 @@ class IntroFragmentTheme : BaseIntroFragment(R.layout.intro_theme) { } private fun View.setThemeClick(theme: Theme) { - setOnClickListener { - v -> + setOnClickListener { v -> Prefs.theme = theme.ordinal (activity as IntroActivity).apply { ripple.ripple(Prefs.bgColor, v.x + v.pivotX, v.y + v.pivotY) |