Skip to content

Commit bfd7aa7

Browse files
committed
Remove unnecessary code.
Since we're using NoActionBar theme for the Dialog, there's no need to set FEATURE_NO_TITLE.
1 parent 745589f commit bfd7aa7

File tree

1 file changed

+0
-1
lines changed
  • bottomsheetdialog-compose/src/main/kotlin/com/holix/android/bottomsheetdialog/compose

1 file changed

+0
-1
lines changed

bottomsheetdialog-compose/src/main/kotlin/com/holix/android/bottomsheetdialog/compose/BottomSheetDialog.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,6 @@ private class BottomSheetDialogWrapper(
389389

390390
init {
391391
val window = window ?: error("Dialog has no window")
392-
window.requestFeature(Window.FEATURE_NO_TITLE)
393392
window.setBackgroundDrawableResource(android.R.color.transparent)
394393
bottomSheetDialogLayout = BottomSheetDialogLayout(context, window).apply {
395394
// Set unique id for AbstractComposeView. This allows state restoration for the state

0 commit comments

Comments
 (0)