From 71f5dc2f7ce5b8183421586e6a77be65040a4dff Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 1 Jan 2018 23:22:51 -0500 Subject: Format everything and use reified generics --- about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt | 4 ++-- about/src/main/res-public/values/public.xml | 2 +- about/src/main/res-public/values/styles.xml | 2 +- about/src/main/res/values-de-rDE/strings_about.xml | 7 +++---- about/src/main/res/values-es-rES/strings_about.xml | 7 +++---- about/src/main/res/values-fr-rFR/strings_about.xml | 7 +++---- about/src/main/res/values-gl-rES/strings_about.xml | 7 +++---- about/src/main/res/values-hu-rHU/strings_about.xml | 7 +++---- about/src/main/res/values-it-rIT/strings_about.xml | 7 +++---- about/src/main/res/values-ko-rKR/strings_about.xml | 7 +++---- about/src/main/res/values-no-rNO/strings_about.xml | 7 +++---- about/src/main/res/values-pt-rBR/strings_about.xml | 7 +++---- about/src/main/res/values-vi-rVN/strings_about.xml | 7 +++---- about/src/main/res/values-zh-rCN/strings_about.xml | 7 +++---- 14 files changed, 37 insertions(+), 48 deletions(-) (limited to 'about/src') 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 0380479..a5f5318 100644 --- a/about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt +++ b/about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt @@ -11,8 +11,8 @@ import ca.allanwang.kau.utils.withSceneTransitionAnimation /** * About activity launcher */ -fun Activity.kauLaunchAbout(clazz: Class) { - startActivity(clazz, bundleBuilder = { +inline fun Activity.kauLaunchAbout() { + startActivity(bundleBuilder = { withSceneTransitionAnimation(this@kauLaunchAbout) }) } \ No newline at end of file diff --git a/about/src/main/res-public/values/public.xml b/about/src/main/res-public/values/public.xml index 2db68c4..3739dd1 100644 --- a/about/src/main/res-public/values/public.xml +++ b/about/src/main/res-public/values/public.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/about/src/main/res-public/values/styles.xml b/about/src/main/res-public/values/styles.xml index c395e9f..e9ef931 100644 --- a/about/src/main/res-public/values/styles.xml +++ b/about/src/main/res-public/values/styles.xml @@ -1,6 +1,6 @@ -