From 8d72ec1b07a4fe0863b41b1140a8c0e679867b93 Mon Sep 17 00:00:00 2001 From: lmw <125975490@qq.com> Date: 星期四, 03 四月 2025 17:44:29 +0800 Subject: [PATCH] save --- app/src/main/java/com/sinata/xqmuse/XQApplication.kt | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/app/src/main/java/com/sinata/xqmuse/XQApplication.kt b/app/src/main/java/com/sinata/xqmuse/XQApplication.kt index 901b8b4..fe1c75b 100644 --- a/app/src/main/java/com/sinata/xqmuse/XQApplication.kt +++ b/app/src/main/java/com/sinata/xqmuse/XQApplication.kt @@ -25,6 +25,7 @@ override fun onCreate() { super.onCreate() registerActivityLifecycleCallbacks(this) + UMConfigure.preInit(this, Const.UMENG_KEY, "") } /** @@ -101,6 +102,7 @@ var lon:Double? = null var isForeground = true var appContext: XQApplication? = null + var finishAnswer = false //完成答题后置为true,跳转到树苗打卡 fun getInstance(): XQApplication? { if (appContext == null) { appContext = XQApplication() -- Gitblit v1.7.1