Commit 5d582a4d authored by wanglei's avatar wanglei

...

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