Commit 5d582a4d authored by wanglei's avatar wanglei

...

parent 536ab50a
...@@ -191,16 +191,16 @@ class MainActivity : BaseActivity<ActivityMain2Binding>(), MainView { ...@@ -191,16 +191,16 @@ class MainActivity : BaseActivity<ActivityMain2Binding>(), MainView {
return return
} }
//通知弹窗 //通知弹窗
if (!todayShowNotificationDialog && !checkNotificationPermission()) { // if (!todayShowNotificationDialog && !checkNotificationPermission()) {
todayShowNotificationDialog = true // todayShowNotificationDialog = true
showNotificationDialog(launcher) // showNotificationDialog(launcher)
} else { // } else {
if (!ConstObject.setDefault) { // if (!ConstObject.setDefault) {
showDefaultBottomDialog() // showDefaultBottomDialog()
} else { // } else {
showRateDialog() // showRateDialog()
} // }
} // }
} }
} }
...@@ -222,16 +222,16 @@ class MainActivity : BaseActivity<ActivityMain2Binding>(), MainView { ...@@ -222,16 +222,16 @@ class MainActivity : BaseActivity<ActivityMain2Binding>(), MainView {
bannerShowed = true bannerShowed = true
AdmobBannerUtils.showCollapsibleBannerAd(this, binding.flBanner) { AdmobBannerUtils.showCollapsibleBannerAd(this, binding.flBanner) {
//通知弹窗 //通知弹窗
if (!todayShowNotificationDialog && !checkNotificationPermission()) { // if (!todayShowNotificationDialog && !checkNotificationPermission()) {
todayShowNotificationDialog = true // todayShowNotificationDialog = true
showNotificationDialog(launcher) // showNotificationDialog(launcher)
} else { // } else {
if (!ConstObject.setDefault) { // if (!ConstObject.setDefault) {
showDefaultBottomDialog() // showDefaultBottomDialog()
} else { // } else {
showRateDialog() // showRateDialog()
} // }
} // }
} }
} }
} }
......
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