aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroFragmentTheme.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-01-19 21:25:07 -0800
committerGitHub <noreply@github.com>2020-01-19 21:25:07 -0800
commita2c491f446add0191ab8f9a93dece8b37c9be984 (patch)
tree9fa1298e5ff8e3d7435f98133825b36def41a656 /app/src/main/kotlin/com/pitchedapps/frost/intro/IntroFragmentTheme.kt
parent4134ddad6a50498efc77fbad829bea259647c0fc (diff)
parent172f8209a1e448f1e6cfc304dbb7dfef573da736 (diff)
downloadfrost-a2c491f446add0191ab8f9a93dece8b37c9be984.tar.gz
frost-a2c491f446add0191ab8f9a93dece8b37c9be984.tar.bz2
frost-a2c491f446add0191ab8f9a93dece8b37c9be984.zip
Merge pull request #1621 from AllanWang/intro-ui
Intro ui updates
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.kt2
1 files changed, 1 insertions, 1 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 d760d416..64d675e1 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroFragmentTheme.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroFragmentTheme.kt
@@ -56,7 +56,7 @@ class IntroFragmentTheme : BaseIntroFragment(R.layout.intro_theme) {
setOnClickListener { v ->
Prefs.theme = theme.ordinal
(activity as IntroActivity).apply {
- ripple.ripple(Prefs.bgColor, v.x + v.pivotX, v.y + v.pivotY)
+ binding.ripple.ripple(Prefs.bgColor, v.x + v.pivotX, v.y + v.pivotY)
theme()
}
themeList.forEach { it.animate().scaleXY(if (it == this) 1.6f else 0.8f).start() }