Skip to content

Commit

Permalink
[fix/delete_error]: 사진 삭제 오류 수정 (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
kez-lab authored Jul 22, 2023
1 parent b00ab91 commit e27c9ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import androidx.fragment.app.DialogFragment
import androidx.fragment.app.activityViewModels
import com.teampophory.pophory.R
import com.teampophory.pophory.common.context.dialogWidthPercent
import com.teampophory.pophory.common.view.setOnSingleClickListener
import com.teampophory.pophory.common.view.viewBinding
import com.teampophory.pophory.databinding.FragmentAlbumDeleteDialogBinding
import dagger.hilt.android.AndroidEntryPoint
Expand Down Expand Up @@ -47,7 +48,7 @@ class AlbumDeleteDialogFragment : DialogFragment() {
tvReturnButton.setOnClickListener {
dismissAllowingStateLoss()
}
tvDeleteButton.setOnClickListener {
tvDeleteButton.setOnSingleClickListener {
viewModel.deleteAlbum()
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class AlbumDetailActivity : AppCompatActivity() {
finish()
}

binding.ivAlbumDelete.setOnClickListener {
binding.ivAlbumDelete.setOnSingleClickListener {
AlbumDeleteDialogFragment.newInstance().apply {
showAllowingStateLoss(supportFragmentManager, AlbumDeleteDialogFragment.TAG)
}
Expand Down

0 comments on commit e27c9ac

Please sign in to comment.