Commit 492c8b62 authored by wanglei's avatar wanglei

...

parent 1c5b2ab7
......@@ -155,8 +155,9 @@ class MainActivity : BaseActivity<ActivityMain2Binding>(), MainView {
//通知弹窗
if (bannerShowed && checkStorePermission() && notificationDialogResumeShow) {
notificationDialogResumeShow = true
showNotificationDialog(launcher)
} else {
notificationDialogResumeShow = true
}
}
......
......@@ -500,10 +500,6 @@ object DialogView {
dialog.window?.attributes = params
dialog.window?.setBackgroundDrawableResource(android.R.color.transparent)
val parentView = binding.root.parent as View
val behavior = BottomSheetBehavior.from(parentView)
//展开
behavior.state = BottomSheetBehavior.STATE_EXPANDED
binding.tvOk.setOnClickListener {
dialog.dismiss()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment