|
|
@@ -13,9 +13,8 @@ import com.adealink.weparty.commonui.dialogchain.dialogtask.CompleteProfileDialo
|
|
|
class CompleteProfileViewComp(lifecycleOwner: LifecycleOwner) : ViewComponent(lifecycleOwner) {
|
|
|
|
|
|
|
|
|
- override fun onResume() {
|
|
|
- super.onResume()
|
|
|
-
|
|
|
+ override fun onCreate() {
|
|
|
+ super.onCreate()
|
|
|
UserTaskManager.profileCompletenessTask.observe(viewLifecycleOwner) { taskInfo ->
|
|
|
//弹窗判断:当前用户资料完善度<80%时 才会弹,否则不弹
|
|
|
taskInfo ?: return@observe
|