|
|
@ -155,7 +155,7 @@ class BgTextConfigDialog : DialogFragment() { |
|
|
|
override fun registerListener(holder: ItemViewHolder) { |
|
|
|
override fun registerListener(holder: ItemViewHolder) { |
|
|
|
holder.itemView.apply { |
|
|
|
holder.itemView.apply { |
|
|
|
this.onClick { |
|
|
|
this.onClick { |
|
|
|
getItem(holder.layoutPosition)?.let { |
|
|
|
getItem(holder.layoutPosition - getHeaderCount())?.let { |
|
|
|
ReadBookConfig.durConfig.setBg(1, it) |
|
|
|
ReadBookConfig.durConfig.setBg(1, it) |
|
|
|
ReadBookConfig.upBg() |
|
|
|
ReadBookConfig.upBg() |
|
|
|
postEvent(EventBus.UP_CONFIG, false) |
|
|
|
postEvent(EventBus.UP_CONFIG, false) |
|
|
|