From 0480611eeb617359d61692c39a85dcc56d8b4ca1 Mon Sep 17 00:00:00 2001 From: HyunWoo Lee Date: Sat, 4 Jan 2025 02:39:41 +0900 Subject: [PATCH] [#1011] Remove deprecated signature --- .../poke/friend/summary/FriendListSummaryActivity.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/feature/poke/src/main/java/org/sopt/official/feature/poke/friend/summary/FriendListSummaryActivity.kt b/feature/poke/src/main/java/org/sopt/official/feature/poke/friend/summary/FriendListSummaryActivity.kt index 73fe79260..e02f53d00 100644 --- a/feature/poke/src/main/java/org/sopt/official/feature/poke/friend/summary/FriendListSummaryActivity.kt +++ b/feature/poke/src/main/java/org/sopt/official/feature/poke/friend/summary/FriendListSummaryActivity.kt @@ -35,8 +35,6 @@ import androidx.lifecycle.lifecycleScope import coil.load import coil.transform.CircleCropTransformation import dagger.hilt.android.AndroidEntryPoint -import java.io.Serializable -import javax.inject.Inject import kotlinx.coroutines.delay import kotlinx.coroutines.flow.launchIn import kotlinx.coroutines.flow.onEach @@ -66,6 +64,8 @@ import org.sopt.official.feature.poke.user.PokeUserListItemViewType import org.sopt.official.feature.poke.util.addOnAnimationEndListener import org.sopt.official.feature.poke.util.setRelationStrokeColor import org.sopt.official.feature.poke.util.showPokeToast +import java.io.Serializable +import javax.inject.Inject @AndroidEntryPoint class FriendListSummaryActivity : AppCompatActivity() { @@ -110,7 +110,7 @@ class FriendListSummaryActivity : AppCompatActivity() { private fun initAppBar() { binding.includeAppBar.apply { - toolbar.setOnClickListener { onBackPressed() } + toolbar.setOnClickListener { onBackPressedDispatcher.onBackPressed() } textViewTitle.text = getString(R.string.my_friend_title) } }