Commit 583d3dd0 authored by maxiaoliang's avatar maxiaoliang

添加进入权益卡时判断是否展示插屏

parent 06cce02c
......@@ -65,7 +65,10 @@ class RightsDetailActivity : BaseActivity(), RightsDetailContract.View, RightsPa
}
override fun init() {
showIntriAd()
if (SettingPreference.getAdSwitch().equals("1")) {
showIntriAd()
}
var statusBarHeight = ScreenUtils.getStatusBarHeight()
if (statusBarHeight <= 0) {
statusBarHeight = 40;
......
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