Commit 9010f7d2 authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent 9a1ff634
......@@ -12,8 +12,8 @@ android {
applicationId "com.mints.helivideo"
minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 14
versionName "1.1.3"
versionCode 15
versionName "1.1.4"
flavorDimensions "default"
// dex突破65535的限制
......
......@@ -131,7 +131,7 @@ class NineActivity : BaseActivity(), View.OnClickListener, NineView {
if (isAdShow) {
if (nineShowBean != null) {
if (nineShowBean!!.complete < nineShowBean!!.need) {
if (nineShowBean!!.need - nineShowBean!!.complete-1>0) {
showContinueDialog()
}
}
......
......@@ -212,7 +212,7 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
myPresenter.showTurn()
if (nineShowBean != null) {
if (nineShowBean!!.complete < nineShowBean!!.need) {
if (nineShowBean!!.need - nineShowBean!!.complete-1>0) {
showContinueDialog()
}
}
......
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