mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化tts导入
This commit is contained in:
parent
f0006df29e
commit
8420aab0ba
@ -25,6 +25,7 @@ import io.legado.app.lib.dialogs.alert
|
||||
import io.legado.app.lib.theme.primaryColor
|
||||
import io.legado.app.model.ReadAloud
|
||||
import io.legado.app.model.ReadBook
|
||||
import io.legado.app.ui.association.ImportHttpTtsDialog
|
||||
import io.legado.app.ui.document.HandleFileContract
|
||||
import io.legado.app.ui.login.SourceLoginActivity
|
||||
import io.legado.app.utils.*
|
||||
@ -183,7 +184,7 @@ class SpeakEngineDialog(val callBack: CallBack) : BaseDialogFragment(R.layout.di
|
||||
cacheUrls.add(0, url)
|
||||
aCache.put(ttsUrlKey, cacheUrls.joinToString(","))
|
||||
}
|
||||
viewModel.importOnLine(url)
|
||||
showDialogFragment(ImportHttpTtsDialog(url))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user