From ee21407b00120ec2a79033f26b289524f9cca6d8 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 25 Jul 2021 01:41:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/legado/app/ui/association/OnLineImportViewModel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/association/OnLineImportViewModel.kt b/app/src/main/java/io/legado/app/ui/association/OnLineImportViewModel.kt index 3423b6212..5dd4fbea3 100644 --- a/app/src/main/java/io/legado/app/ui/association/OnLineImportViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/association/OnLineImportViewModel.kt @@ -1,7 +1,7 @@ package io.legado.app.ui.association +import android.app.Application import androidx.lifecycle.MutableLiveData -import io.legado.app.App import io.legado.app.R import io.legado.app.base.BaseViewModel import io.legado.app.data.appDb @@ -18,7 +18,7 @@ import io.legado.app.utils.fromJsonObject import io.legado.app.utils.isJsonArray import okhttp3.MediaType.Companion.toMediaType -class OnLineImportViewModel(app: App) : BaseViewModel(app) { +class OnLineImportViewModel(app: Application) : BaseViewModel(app) { val successLive = MutableLiveData>() val errorLive = MutableLiveData()