1.3
tj
2025-04-15 b8aa11a7b447fb8048115bdd156c2aa9e3b16a07
app/src/main/java/com/example/firstapp/core/Core.kt
@@ -6,7 +6,6 @@
import com.example.firstapp.database.repository.CodeRepository
import com.example.firstapp.database.repository.KeywordRepository
import com.example.firstapp.database.repository.MsgRepository
import com.example.firstapp.database.repository.ReminderRepository
import kotlinx.coroutines.launch
@@ -16,7 +15,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 }
    val reminder: ReminderRepository by lazy { (app as App).reminderRepository }
//    val reminder: KeywordRepository by lazy { (app as App).reminderRepository }
    fun init(app: Application) {
        this.app = app