fix ActivityAnimUtils

androidx
Ztiany 5 years ago
parent cceec3fb53
commit 514326be02
  1. 2
      lib_base/src/main/java/com/android/base/utils/android/views/ActivityAnimUtils.kt

@ -34,6 +34,6 @@ fun Activity.setTransition(type: Transition) {
}
fun AppCompatActivity.finishWithAnimation(@AnimRes enterAnim: Int, @AnimRes exitAnim: Int) {
supportFinishAfterTransition()
finish()
overridePendingTransition(enterAnim, exitAnim)
}
Loading…
Cancel
Save