mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
other
This commit is contained in:
parent
5b86fb8dd8
commit
10d2764c61
@ -88,7 +88,7 @@ class TxtTocRuleAdapter(context: Context, private val callBack: CallBack) :
|
|||||||
bundle.keySet().map {
|
bundle.keySet().map {
|
||||||
when (it) {
|
when (it) {
|
||||||
"selected" -> cbSource.isChecked = selected.contains(item)
|
"selected" -> cbSource.isChecked = selected.contains(item)
|
||||||
"upNmae" -> cbSource.text = item.name
|
"upName" -> cbSource.text = item.name
|
||||||
"upExample" -> titleExample.text = item.example
|
"upExample" -> titleExample.text = item.example
|
||||||
"enabled" -> swtEnabled.isChecked = item.enable
|
"enabled" -> swtEnabled.isChecked = item.enable
|
||||||
}
|
}
|
||||||
|
@ -264,7 +264,7 @@ class TxtTocRuleDialog() : BaseDialogFragment(R.layout.dialog_toc_regex),
|
|||||||
} else {
|
} else {
|
||||||
bundle.keySet().map {
|
bundle.keySet().map {
|
||||||
when (it) {
|
when (it) {
|
||||||
"upNmae" -> rbRegexName.text = item.name
|
"upName" -> rbRegexName.text = item.name
|
||||||
"upExample" -> titleExample.text = item.example
|
"upExample" -> titleExample.text = item.example
|
||||||
"enabled" -> swtEnabled.isChecked = item.enable
|
"enabled" -> swtEnabled.isChecked = item.enable
|
||||||
"upSelect" -> rbRegexName.isChecked = item.name == selectedName
|
"upSelect" -> rbRegexName.isChecked = item.name == selectedName
|
||||||
|
Loading…
Reference in New Issue
Block a user