From 3466799c94227c5ebba9fb201621e745058867ee Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期二, 15 四月 2025 13:18:34 +0800
Subject: [PATCH] add: 消息提醒时间设定;会员到期时间调整;
---
app/src/main/java/com/example/firstapp/core/Core.kt | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/app/src/main/java/com/example/firstapp/core/Core.kt b/app/src/main/java/com/example/firstapp/core/Core.kt
index f1f55b4..47c3d20 100644
--- a/app/src/main/java/com/example/firstapp/core/Core.kt
+++ b/app/src/main/java/com/example/firstapp/core/Core.kt
@@ -4,6 +4,7 @@
import androidx.work.Configuration
import com.example.firstapp.App
import com.example.firstapp.database.repository.CodeRepository
+import com.example.firstapp.database.repository.KeywordRepository
import com.example.firstapp.database.repository.MsgRepository
import kotlinx.coroutines.launch
@@ -13,6 +14,7 @@
val msg: MsgRepository by lazy { (app as App).msgRepository }
val code: CodeRepository by lazy { (app as App).codeRepository }
+ val keyword: KeywordRepository by lazy { (app as App).keywordRepository }
fun init(app: Application) {
this.app = app
--
Gitblit v1.9.3