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()
|
labelSys.visible()
|
||||||
cbName.text = "系统默认"
|
cbName.text = "系统默认"
|
||||||
cbName.tag = ""
|
cbName.tag = ""
|
||||||
cbName.isChecked = ttsEngine == null || ttsEngine!!.toIntOrNull() == null
|
cbName.isChecked = ttsEngine == null || ttsEngine!!.isJsonObject()
|
||||||
&& GSON.fromJsonObject<SelectItem<String>>(ttsEngine)
|
&& GSON.fromJsonObject<SelectItem<String>>(ttsEngine)
|
||||||
.getOrNull()?.value.isNullOrEmpty()
|
.getOrNull()?.value.isNullOrEmpty()
|
||||||
cbName.setOnClickListener {
|
cbName.setOnClickListener {
|
||||||
|
Loading…
Reference in New Issue
Block a user