aboutsummaryrefslogtreecommitdiff
path: root/sample/src/main/kotlin
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-17 15:20:42 -0700
committerAllan Wang <me@allanwang.ca>2017-06-17 15:20:42 -0700
commit9832aed0ea96312e59ed75c788a1b843f1947a7e (patch)
treeaf424e936418d7d1d4b503ab3c71371d5fc3b55f /sample/src/main/kotlin
parentf2edadc54659bd37ee61825c52c54cc693d63b2a (diff)
downloadkau-9832aed0ea96312e59ed75c788a1b843f1947a7e.tar.gz
kau-9832aed0ea96312e59ed75c788a1b843f1947a7e.tar.bz2
kau-9832aed0ea96312e59ed75c788a1b843f1947a7e.zip
Add animations
Diffstat (limited to 'sample/src/main/kotlin')
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
index cb7c082..a03857a 100644
--- a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
+++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
@@ -102,7 +102,7 @@ class MainActivity : KPrefActivity() {
override fun onOptionsItemSelected(item: MenuItem): Boolean {
when (item.itemId) {
- R.id.action_settings -> startActivitySlideIn(AnimActivity::class.java, clearStack = true)
+ R.id.action_settings -> startActivity(AnimActivity::class.java, clearStack = true)
else -> return super.onOptionsItemSelected(item)
}
return true