mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
优化
This commit is contained in:
parent
a4009ff87a
commit
9c1a0fe354
@ -93,7 +93,7 @@ class SpeakEngineDialog(val callBack: CallBack) : BaseDialogFragment(R.layout.di
|
||||
labelSys.visible()
|
||||
cbName.text = "系统默认"
|
||||
cbName.tag = ""
|
||||
cbName.isChecked = ttsEngine == null || ttsEngine!!.toIntOrNull() == null
|
||||
cbName.isChecked = ttsEngine == null || ttsEngine!!.isJsonObject()
|
||||
&& GSON.fromJsonObject<SelectItem<String>>(ttsEngine)
|
||||
.getOrNull()?.value.isNullOrEmpty()
|
||||
cbName.setOnClickListener {
|
||||
|
Loading…
Reference in New Issue
Block a user