diff options
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) |