pull/1966/head
kunfei 3 years ago
parent 84fe966808
commit 304510505d
  1. 3
      app/src/main/java/io/legado/app/ui/book/read/config/ReadStyleDialog.kt

@ -7,6 +7,8 @@ import android.view.View
import android.view.ViewGroup
import android.view.WindowManager
import androidx.core.view.get
import com.github.liuyueyi.quick.transfer.ChineseUtils
import com.github.liuyueyi.quick.transfer.constants.TransType
import io.legado.app.R
import io.legado.app.base.BaseDialogFragment
import io.legado.app.base.adapter.ItemViewHolder
@ -101,6 +103,7 @@ class ReadStyleDialog : BaseDialogFragment(R.layout.dialog_read_book_style),
private fun initViewEvent() = binding.run {
chineseConverter.onChanged {
ChineseUtils.unLoad(*TransType.values())
postEvent(EventBus.UP_CONFIG, true)
}
textFontWeightConverter.onChanged {

Loading…
Cancel
Save