Revert overridePendingTransition refactorings

(cherry picked from commit 87be54aa4aed257dfe060c0a9ee7072fece848bb)
This commit is contained in:
arkon
2023-12-02 11:24:13 -05:00
committed by Jobobby04
parent d1c8c2d18e
commit f5cda51334
5 changed files with 7 additions and 24 deletions
@@ -47,7 +47,7 @@ class InterceptActivity : BaseActivity() {
private val status: MutableStateFlow<InterceptResult> = MutableStateFlow(InterceptResult.Idle)
override fun onCreate(savedInstanceState: Bundle?) {
overridePendingTransitionCompat(R.anim.shared_axis_x_push_enter, R.anim.shared_axis_x_push_exit)
overridePendingTransition(R.anim.shared_axis_x_push_enter, R.anim.shared_axis_x_push_exit)
super.onCreate(savedInstanceState)
setComposeContent {
@@ -143,7 +143,7 @@ class InterceptActivity : BaseActivity() {
override fun finish() {
super.finish()
overridePendingTransitionCompat(R.anim.shared_axis_x_pop_enter, R.anim.shared_axis_x_pop_exit)
overridePendingTransition(R.anim.shared_axis_x_pop_enter, R.anim.shared_axis_x_pop_exit)
}
private val galleryAdder = GalleryAdder()