aboutsummaryrefslogtreecommitdiff
path: root/about/src/main/kotlin/ca/allanwang
diff options
context:
space:
mode:
Diffstat (limited to 'about/src/main/kotlin/ca/allanwang')
-rw-r--r--about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt b/about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt
index 902f6e5..0380479 100644
--- a/about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt
+++ b/about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt
@@ -2,6 +2,7 @@ package ca.allanwang.kau.about
import android.app.Activity
import ca.allanwang.kau.utils.startActivity
+import ca.allanwang.kau.utils.withSceneTransitionAnimation
/**
* Created by Allan Wang on 2017-07-22.
@@ -11,5 +12,7 @@ import ca.allanwang.kau.utils.startActivity
* About activity launcher
*/
fun Activity.kauLaunchAbout(clazz: Class<out AboutActivityBase>) {
- startActivity(clazz, transition = true)
+ startActivity(clazz, bundleBuilder = {
+ withSceneTransitionAnimation(this@kauLaunchAbout)
+ })
} \ No newline at end of file