提交 21128727 编写于 作者: A Aidan Follestad

Set isHideable to true again when non-cancelable BottomSheet dialog is dismissed.

上级 d2dce896
...@@ -228,7 +228,10 @@ class BottomSheet( ...@@ -228,7 +228,10 @@ class BottomSheet(
sheetBehavior != null && sheetBehavior != null &&
sheetBehavior.state != STATE_HIDDEN sheetBehavior.state != STATE_HIDDEN
) { ) {
sheetBehavior.state = STATE_HIDDEN sheetBehavior.apply {
isHideable = true
state = STATE_HIDDEN
}
hideButtons() hideButtons()
return true return true
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册