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:11:03 -0800
committerAllan Wang <me@allanwang.ca>2020-01-19 21:11:03 -0800
commit172f8209a1e448f1e6cfc304dbb7dfef573da736 (patch)
tree9fa1298e5ff8e3d7435f98133825b36def41a656 /app/src/main/kotlin/com/pitchedapps/frost/intro/IntroFragmentTheme.kt
parent8c87c5037ba5dea5759f41518e33fbeb33b76ad3 (diff)
downloadfrost-172f8209a1e448f1e6cfc304dbb7dfef573da736.tar.gz
frost-172f8209a1e448f1e6cfc304dbb7dfef573da736.tar.bz2
frost-172f8209a1e448f1e6cfc304dbb7dfef573da736.zip
Remove synethetics from intro activity
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() }