|
|
@ -104,10 +104,8 @@ class ReadStyleDialog : DialogFragment(), FontSelectDialog.CallBack { |
|
|
|
showTitleConfig() |
|
|
|
showTitleConfig() |
|
|
|
} |
|
|
|
} |
|
|
|
tv_text_bold.onClick { |
|
|
|
tv_text_bold.onClick { |
|
|
|
ReadBookConfig.apply { |
|
|
|
ReadBookConfig.textBold = !ReadBookConfig.textBold |
|
|
|
textBold = !textBold |
|
|
|
tv_text_bold.isSelected = ReadBookConfig.textBold |
|
|
|
tv_text_bold.isSelected = textBold |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
postEvent(EventBus.UP_CONFIG, true) |
|
|
|
postEvent(EventBus.UP_CONFIG, true) |
|
|
|
} |
|
|
|
} |
|
|
|
tv_text_font.onClick { |
|
|
|
tv_text_font.onClick { |
|
|
|