Commit 7addf093 authored by wanglei's avatar wanglei

...

parent 7df2c3b7
......@@ -13,6 +13,9 @@ import android.view.View
import androidx.core.view.isVisible
import androidx.lifecycle.LifecycleCoroutineScope
import com.base.datarecovery.R
import com.base.datarecovery.ads.AdmobInterstitialUtils
import com.base.datarecovery.ads.AdmobInterstitialUtils.showInterAdSp
import com.base.datarecovery.ads.AdmobNativeUtils
import com.base.datarecovery.bean.ConstObject.rememberOption
import com.base.datarecovery.databinding.DialogCameraSettingBinding
import com.base.datarecovery.databinding.DialogDeletePermanentlyBinding
......@@ -263,8 +266,7 @@ object DialogViews {
exitAction: (showAd: Boolean) -> Unit
) {
if (!mustShow) {
val s = AppPreferences.getInstance().getString("isShowBackIntAd", "0").toIntOrNull() ?: 0
if (s == 0) {
if (!showInterAdSp()) {
exitAction.invoke(false)
return
}
......
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