1:添加签到弹框,当没有签到的时候,进入应用60秒弹出,当已经签到,不在弹框,添加结束清除定时器
This commit is contained in:
@@ -132,12 +132,13 @@ open class Application : CommonAppContext() {
|
|||||||
return
|
return
|
||||||
|
|
||||||
if (!activity.isFinishing && !activity.isDestroyed) {
|
if (!activity.isFinishing && !activity.isDestroyed) {
|
||||||
val signInDialog = SignInDialog(getContext())
|
val signInDialog = SignInDialog(activity)
|
||||||
signInDialog.setOnCloseListener {
|
signInDialog.setOnCloseListener {
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
signInDialog.show()
|
signInDialog.show()
|
||||||
}
|
}
|
||||||
|
TimerManager.cancelTimer(CustomMsgCode.CODE_USER_SIGN_IN)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user