Commit 46b8ea0d authored by yinjiacheng's avatar yinjiacheng

fix 启动页恢复隐私弹窗弹出判断

parent 3e2a7717
......@@ -46,13 +46,12 @@ class FlashActivity : BaseActivity<ActivityFlashBinding>(), IGetLifeAccountListC
* 检查隐私协议是否同意
*/
private fun checkPrivacyIsAgreed() {
// val isAgree = Hawk.get(HawkConfig.ProtocolIsAgree, false)
// if (isAgree) {
// toLoginOrHome()
// } else {
// showPrivacyDialog()
// }
showPrivacyDialog()
val isAgree = Hawk.get(HawkConfig.ProtocolIsAgree, false)
if (isAgree) {
toLoginOrHome()
} else {
showPrivacyDialog()
}
}
/**
......
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