Commit fb5444af authored by wanglei's avatar wanglei

...

parent 2b94c70d
......@@ -121,17 +121,11 @@ class MainActivity : BaseActivity<ActivityMainBinding>() {
}
var resumeCount = 0
override fun onResume() {
super.onResume()
showStorage()
resumeCount++
mainShowCount++
if (mainShowCount != 1 && resumeCount == 3) {
showRateDialog()
}
if (mainShowCount >= 2 && showPermissionDialog && intent.extras?.getBoolean("cleanAskPermission", false) == false) {
val appName = this.resources.getString(R.string.app_name)
// 在Activity中调用创建快捷方式的方法
......
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