mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
f1bbea129c
commit
ee21407b00
@ -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<Pair<String, String>>()
|
||||
val errorLive = MutableLiveData<String>()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user