diff --git a/lib_base/src/main/java/com/android/base/utils/android/views/ActivityAnimUtils.kt b/lib_base/src/main/java/com/android/base/utils/android/views/ActivityAnimUtils.kt index c91a142..bf60226 100644 --- a/lib_base/src/main/java/com/android/base/utils/android/views/ActivityAnimUtils.kt +++ b/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) } \ No newline at end of file