Skip to content

Commit

Permalink
[fix/#104] decorView 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
minju1459 committed Aug 21, 2024
1 parent 4db0003 commit 21958ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class ReviewMySeatDialog : BindingBottomSheetDialog<FragmentReviewMySeatBottomSh
}

private fun makeSpotImageAppbar(message: String) {
val parentView = requireDialog().window?.decorView?.findViewById<View>(android.R.id.content)
val parentView = binding.root.rootView
parentView?.let {
SpotImageSnackBar.make(
it,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ class SelectSeatDialog : BindingBottomSheetDialog<FragmentSelectSeatBottomSheetB
}

private fun makeSpotImageAppbar(message: String, marginHorizontal: Int) {
val parentView = requireDialog().window?.decorView?.findViewById<View>(android.R.id.content)
val parentView = binding.root.rootView
parentView?.let {
SpotImageSnackBar.make(
it,
Expand Down

0 comments on commit 21958ac

Please sign in to comment.