aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroFragmentTheme.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-11-12 04:03:41 -0500
committerGitHub <noreply@github.com>2017-11-12 04:03:41 -0500
commit4aed05a8923a7f76799bbaa254f407f7e11fef0b (patch)
treebadd20ad111989ce7bbeed3f7e9ed8df47b94331 /app/src/main/kotlin/com/pitchedapps/frost/intro/IntroFragmentTheme.kt
parent2b51bc4bfa86863ed14b550fe3281840587ab038 (diff)
downloadfrost-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.kt3
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)